conf/163508: [rc.subr] [patch] Add " enable" and " disable" commands to rc.subr

Warner Losh imp at bsdimp.com
Sat Dec 24 23:05:10 UTC 2011


On Dec 24, 2011, at 2:00 PM, Doug Barton wrote:

> The following reply was made to PR conf/163508; it has been noted by GNATS.
> 
> From: Doug Barton <dougb at FreeBSD.org>
> To: Maxim Ignatenko <gelraen.ua at gmail.com>
> Cc: bug-followup at freebsd.org
> Subject: Re: conf/163508: [rc.subr] [patch] Add &quot;enable&quot; and &quot;disable&quot;
> commands to rc.subr
> Date: Sat, 24 Dec 2011 12:59:44 -0800
> 
> On 12/24/2011 04:20, Maxim Ignatenko wrote:
>> The idea was to make enabling/disabling services less error-prone.
> 
> How is adding foo_enable=1 to rc.conf error-prone?

Some people like editing files, others like command line interfaces.  For some, the latter is easier and less prone to errors.  For others, the former is such.

This utility would cater to the latter case of people, and would have no impact on the former.

Warner



More information about the freebsd-rc mailing list