Date: Tue, 13 Mar 2001 00:22:36 -0800 From: Peter Wemm <peter@netplex.com.au> To: Gregory Neil Shapiro <gshapiro@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc rc src/etc/defaults rc.conf Message-ID: <200103130822.f2D8Mah52998@mobile.wemm.org> In-Reply-To: <15021.50956.112503.874776@horsey.gshapiro.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Gregory Neil Shapiro wrote:
> peter> etc rc
>
> peter> At great personal risk, touch the sendmail startup again. This adds
> peter> easy seperate knobs for inbound (accepting SMTP connections) and
> peter> outbound (just occasionally dequeueing) sendmail daemon startup.
>
> One comment on this. Your change to src/etc/rc:
>
> +if [ -r /etc/mail/sendmail.cf ]; then
> + case ${sendmail_enable} in
> + [Yy][Ee][Ss])
> + echo -n ' sendmail'
> + /usr/sbin/sendmail ${sendmail_flags}
> ...
>
> What if ${sendmail_flags} is:
>
> sendmail_flags=-C/usr/local/etc/sendmail.cf
>
> Therefore, /etc/mail/sendmail.cf need not exist. I think you may be
> assuming too much the the added if on the first line.
No change. The old code read:
-case ${sendmail_enable} in
-[Yy][Ee][Ss])
- if [ -r /etc/mail/sendmail.cf ]; then
- echo -n ' sendmail'; /usr/sbin/sendmail ${sendmail_flags}
- fi
- ;;
-esac
Cheers,
-Peter
--
Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au
"All of this is for nothing if we don't go to the stars" - JMS/B5
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103130822.f2D8Mah52998>
