[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [BusyBox] starting script from inittab
From:       "Brian T." <btuch () usa ! net>
Date:       2003-04-25 17:45:36
[Download RAW message or body]

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@esd-electronics.com>
To: <busybox@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@busybox.net
> http://codepoet.org/mailman/listinfo/busybox


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic