[BusyBox] starting script from inittab

Brian T. btuch at usa.net
Fri Apr 25 17:45:36 UTC 2003


I use bash for sh, and to run my startup stuff I use:

::sysinit:/bin/sh /etc/rc

And programs continue running in the background.  Might try that.

-Brian


----- Original Message ----- 
From: "Matthias Fuchs" <matthias.fuchs at esd-electronics.com>
To: <busybox at busybox.net>
Sent: Friday, April 25, 2003 11:12 AM
Subject: [BusyBox] starting script from inittab


> Hi,
>
> I am using this entry in busybox' inittab to start a script:
>
> ::once:/root/start
>
> The script itself start some applications, does some sleep, starts some
more
> application and exits:
>
> #!/bin/sh
> ...
> app1 &
> app2 &
> sleep 2
> app3 &
>
> When app3 is started, the scipt exits and all started apps are killed.
Why?
> And what can I do to save them from being killed?
>
> If I do not start app3 in the background, everything is fine, but is that
the only way?
>
> Matthias
>
>
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://busybox.net/mailman/listinfo/busybox




More information about the busybox mailing list