[BusyBox] Runlevel hand over
Erik Andersen
andersen at codepoet.org
Tue Jul 30 13:47:03 UTC 2002
On Tue Jul 30, 2002 at 04:38:43PM +0200, Michael Hauser wrote:
> Hi,
>
> does anybody know how to hand over runlevels from the "/etc/inittab" to the
> "/etc/rc.sh" ?
>
> Examples
> normal solution:
> :3:rc.sh nonetwork
> :4:rc.sh network
>
> my desired solution (pseudo code):
> :RUNLEVEL(S):rc.sh $RUNLEVEL(S)
> | |
> +---------------------------+
> The advantage of my solution shuld be that the runlevel could be hand over to
> the rc.sh like a variable.
> Is this way possible at all ?
Yes, but not with busybox init. If you read the documentation
you will see that busybox init does not support runlevels.
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
More information about the busybox
mailing list