Subject: Re: /etc/rc. use instead.
To: None <>
From: Greg A. Woods <>
List: tech-userlevel
Date: 12/13/1999 15:09:23
[ On Monday, December 6, 1999 at 17:45:43 (-0500), Matthew Orgass wrote: ]
> Subject: Re: /etc/rc. use instead.
> > * SysV runlevels can be emulated (including both level change behaviors
> > (though obviously only one at a time :) )).
>   But you will need a way to find the current level unless you are willing
> to specify up or down (i.e. you need a sysctl).

Yes, of course, BUT:  The "init" program itself knows the current
runlevel and could either pass it in the environment, or with a very
minor tweak to the inittab(5) format, on the command line.

Of course this isn't true in the SysV (or SunOS-5) implementations
because their "init" does not pass the current runlevel to the scripts,
but then again didn't someone say something about improving on the
existing practice?  :-)

							Greg A. Woods

+1 416 218-0098      VE3TCP      <>      <robohack!woods>
Planix, Inc. <>; Secrets of the Weird <>