[PATCH] Fancy rc startup style RFC - v6

Sean Winn sean at gothic.net.au
Sun Apr 23 07:15:54 UTC 2006


owner-freebsd-hackers at freebsd.org wrote:
> On Thu, Apr 20, 2006 at 10:32:33PM -0500, Eric Anderson wrote:
>> Other than that, do we have general consensus that these do what they
>> claim?  Any outstanding issues that haven't been addressed?
> 
> One request:
> 
> Please remove the two seperate rc.conf lines, and replace with just
>   one: rc_fancy= YES | NO | COL[O|OU]R
> 
> So that it works line the sendmail_enable option (YES/NO/NONE)
> Then include any other tunables in rc_fancy_flags

Definitely not a good idea to use that as a model:

man rc.sendmail

..
     sendmail_enable
             (str) If set to ``YES'', run the sendmail(8) daemon at
system
             boot time.  If set to ``NO'', do not run a sendmail(8)
daemon to
             listen for incoming network mail.  This does not preclude a
             sendmail(8) daemon listening on the SMTP port of the
loopback
             interface.  The ``NONE'' option is deprecated and should
not be
             used.  It will be removed in a future release.
..

Yes/no options should just be yes/no.

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




More information about the freebsd-hackers mailing list