Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Oct 2007 18:00:10 -0700 (PDT)
From:      Doug Barton <dougb@FreeBSD.org>
To:        Pietro Cerutti <gahr@gahr.ch>
Cc:        freebsd-rc@FreeBSD.org
Subject:   Re: conf/105568: [patch] Add more flexibility to rc.conf, to choose "_enable" values at startup
Message-ID:  <alpine.BSF.0.9999.0710011753400.1408@ync.qbhto.arg>
In-Reply-To: <200710012040.l91KeC2t097859@freefall.freebsd.org>
References:  <200710012040.l91KeC2t097859@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.0.9999.0710011753400.1408>