[PATCH] init: Set the RUNLEVEL environment

Rob Landley rob at landley.net
Sat Jul 8 10:51:57 PDT 2006


On Friday 07 July 2006 8:48 pm, Shaun Jackman wrote:
> Busybox's init application does not use the runlevel argument, except
> for the special case of single-user mode. This patch passes the
> runlevel argument on to the children processes in the environment
> variable RUNLEVEL so that they may do something with it. For example,
> I have an /etc/rc file that simply calls /etc/rc$RUNLEVEL. This
> behaviour matches that of the standard Linux System-V-like init
> application. Please apply.

Busybox init doesn't support runlevels.  Busybox init has never supported 
runlevels.  Our inittab doesn't do runlevels.

Rob
-- 
Never bet against the cheap plastic solution.


More information about the busybox mailing list