linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* IBM405
@ 2003-06-23  7:37 Rakesh jagota
  2003-06-23 14:31 ` IBM405 David Jander
  0 siblings, 1 reply; 2+ messages in thread
From: Rakesh jagota @ 2003-06-23  7:37 UTC (permalink / raw)
  To: Linuxppc-Embedded


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.

Thanks & Regards,

rakesh

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: IBM405
  2003-06-23  7:37 IBM405 Rakesh jagota
@ 2003-06-23 14:31 ` David Jander
  0 siblings, 0 replies; 2+ messages in thread
From: David Jander @ 2003-06-23 14:31 UTC (permalink / raw)
  To: Linuxppc-Embedded


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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-06-23 14:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-23  7:37 IBM405 Rakesh jagota
2003-06-23 14:31 ` IBM405 David Jander

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).