On 06/09/12 10:37, Jason Hellenthal wrote:

On Sat, Jun 09, 2012 at 07:28:50AM +0300, Andriy Gapon wrote:
on 09/06/2012 04:16 Jason Hellenthal said the following:
runlevel support might be a better solution so it does not differ that
much from what other systems do and would be easy for people to grasp.
Patches are welcome, as always.

I agree... ;)

How about generic runlevel support through kenv instead ?

I've wondered whether it would be more "BSD-sh" to specify a way to tell
init, "Tell /etc/rc to run the scripts listed by rcorder up until we get
NETWORKING."  (Or SERVERS or whatever dependency you need, or "Stop
just before LOGIN".)                                  -- George Mitchell


Set runlevel by default to 3 , where just like any other system is
multiuser, and provide support in the rc scripts to look at kenv. While
documenting "runlevel" in init(8)'s man page since that is where most
people look for these things.


This way a we could define a while bunch of things around generic
runlevels and if perhaps runlevels ever make it into FreeBSD the support
for them will already exist.



_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to