Date: Sat, 23 Feb 2002 14:03:31 +0100 From: "Annihilator" <annihilator.c@usa.net> To: <FreeBSD-gnats-submit@freebsd.org> Subject: conf/35241: Change to etc/rc Message-ID: <005801c1bc6a$f6431030$0101a8c0@pilar>
next in thread | raw e-mail | index | archive | help
>Number: 35241 >Category: conf >Synopsis: Change to etc/rc >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Feb 23 05:10:05 PST 2002 >Closed-Date: >Last-Modified: >Originator: Annihilator >Release: FreeBSD 4.5-RELEASE i386 >Organization: SawMan's Consortium >Environment: System: FreeBSD sarah 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Thu Jan 31 11:38:29 CET 2002 root@sarah:/usr/src/sys/compile/SARAH i386 >Description: The requirement for existence of etc/mail/sendmail.cf before launching the MTA in etc/rc is redundant. It is also counterproductive when sendmail isn't installed as it prevents an alternative MTA from being started. >How-To-Repeat: >Fix: Patch included. ------=_NextPart_000_001B_01C1BC72.DFFABE10 Content-Type: application/octet-stream; name="rc.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="rc.patch" --- etc/rc.orig Wed Dec 19 18:52:17 2001=0A= +++ etc/rc Sat Feb 23 12:40:54 2002=0A= @@ -525,22 +525,20 @@=0A= ;;=0A= esac=0A= =0A= -if [ -r /etc/mail/sendmail.cf ]; then=0A= - case ${sendmail_enable} in=0A= +case ${sendmail_enable} in=0A= +[Yy][Ee][Ss])=0A= + echo -n ' sendmail'=0A= + /usr/sbin/sendmail ${sendmail_flags}=0A= + ;;=0A= +*)=0A= + case ${sendmail_outbound_enable} in=0A= [Yy][Ee][Ss])=0A= echo -n ' sendmail'=0A= - /usr/sbin/sendmail ${sendmail_flags}=0A= - ;;=0A= - *)=0A= - case ${sendmail_outbound_enable} in=0A= - [Yy][Ee][Ss])=0A= - echo -n ' sendmail'=0A= - /usr/sbin/sendmail ${sendmail_outbound_flags}=0A= - ;;=0A= - esac=0A= + /usr/sbin/sendmail ${sendmail_outbound_flags}=0A= ;;=0A= esac=0A= -fi=0A= + ;;=0A= +esac=0A= =0A= echo '.'=0A= =0A= ------=_NextPart_000_001B_01C1BC72.DFFABE10-- >Release-Note: >Audit-Trail: >Unformatted: This is a multi-part message in MIME format. ------=_NextPart_000_001B_01C1BC72.DFFABE10 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-send-pr-version: 3.113 X-GNATS-Notify: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005801c1bc6a$f6431030$0101a8c0>