conf/143851: [patch] Some rc.d scripts confuse NO with NONE
Garrett Cooper
gcooper at FreeBSD.org
Sat Feb 13 19:00:20 UTC 2010
The following reply was made to PR conf/143851; it has been noted by GNATS.
From: Garrett Cooper <gcooper at FreeBSD.org>
To: bug-followup at FreeBSD.org, mah at jump-ing.de
Cc:
Subject: Re: conf/143851: [patch] Some rc.d scripts confuse NO with NONE
Date: Sat, 13 Feb 2010 10:55:53 -0800
As noted by brucec, the rc.sendmail(8) manpage already mentions NO
vs NONE's use:
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.
# ...
# MTA
if (${sendmail_enable} == NONE)
# Do nothing
else if (${sendmail_enable} == YES)
start sendmail with ${sendmail_flags}
else if (${sendmail_submit_enable} == YES)
start sendmail with ${sendmail_submit_flags}
else if (${sendmail_outbound_enable} == YES)
start sendmail with ${sendmail_outbound_flags}
endif
# MSP Queue Runner
if (${sendmail_enable} != NONE &&
[ -r /etc/mail/submit.cf] &&
${sendmail_msp_queue_enable} == YES)
start sendmail with ${sendmail_msp_queue_flags}
endif
So the option can be removed eventually, but not today...
Thanks,
-Garrett
More information about the freebsd-rc
mailing list