Subject: Re: /etc/rc. use bsd.rc.mk instead.
To: None <email@example.com>
From: Greg A. Woods <firstname.lastname@example.org>
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 bsd.rc.mk 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 <email@example.com> <robohack!woods>
Planix, Inc. <firstname.lastname@example.org>; Secrets of the Weird <email@example.com>