[BusyBox] Runlevel hand over

Michael Hauser hauser at decomsys.com
Wed Jul 31 01:24:03 UTC 2002


hi,

thats right, but only if you use the "standard" version.
i'am using a version which does support runlevels.
the runlevel support is patched and so it works also on busybox.

Am Dienstag, 30. Juli 2002 21:46 schrieben Sie:
> 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

-- 
Michael Hauser
DECOMSYS - Dependable Computer Systems
Stumpergasse 48/28, A-1060 Wien, Austria
Phone: +43 664 3909216
mailto:hauser at decomsys.com
http://www.decomsys.com



More information about the busybox mailing list