conf/105568: [patch] Add more flexibility to rc.conf, to choose "_enable" values at startup

Doug Barton dougb at FreeBSD.org
Mon Oct 1 18:00:21 PDT 2007


What do you feel is the need/benefit of adding this? I read your PR, and I 
don't find your reasoning very compelling. You can easily start or stop 
services after the system enters multi-user mode by simply changing the 
_enable variable and running /etc/rc.d/foo start|stop as needed. There are 
precious few services that depend on being started at boot time.

Also, in regards to your section about using this on a laptop, I have 
solved the same problem by using an rc.local script that detects the 
network I'm on and then runs anything I need with onestart. Admittedly 
your solution has the benefit of properly stopping the service at shutdown 
time, but I've never found that to be a problem.

So can you please elaborate on your reasoning? And do others find this to 
be an idea worth pursuing?

Thanks,

Doug

-- 

     This .signature sanitized for your protection



More information about the freebsd-rc mailing list