linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: David Jander <david.jander@protonic.nl>
To: Linuxppc-Embedded <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: IBM405
Date: Mon, 23 Jun 2003 16:31:31 +0200	[thread overview]
Message-ID: <200306231631.31579.david.jander@protonic.nl> (raw)
In-Reply-To: <f71eqyflvndrtko.230620031257@gda-server>


On Monday 23 June 2003 09:37, Rakesh jagota wrote:
> Hi all,
>
> We have ported linuc on IBM 405 ppc based board. we have a small query.
> How can we directly run the application after switching-on the board
> (without typing "root" at login prompt.

There are several ways/things you can try:

1.- Start your application from one of the init scripts (search in
/etc/rc.d/... for the right spot)
2.- Replace /sbin/init with your application (dangerous, you'll have to know
what you are doing, and your application needs to start up all other things,
just like init.)
3.- Edit /etc/inittab to change the order in which things are started. For
example if you wanted to start your application in every runlevel, put
something like this into /etc/inittab:
my:12345:respawn:/bin/myapplication
This will keep your application always running, and restart it if it quits.
4.- replace /sbin/login with your app ;-)

There are probably many more options, but I hope this helps for a start.

Sincerely,

--
David Jander
Protonic Holland.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

      reply	other threads:[~2003-06-23 14:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-23  7:37 IBM405 Rakesh jagota
2003-06-23 14:31 ` David Jander [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200306231631.31579.david.jander@protonic.nl \
    --to=david.jander@protonic.nl \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).