From owner-freebsd-bugs Sat Feb 23 5:10:20 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id EB93137B417 for ; Sat, 23 Feb 2002 05:10:05 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1NDA5986055; Sat, 23 Feb 2002 05:10:05 -0800 (PST) (envelope-from gnats) Received: from ls212.hinet.hr (ls212.hinet.hr [195.29.150.91]) by hub.freebsd.org (Postfix) with ESMTP id 3B28E37B400 for ; Sat, 23 Feb 2002 05:06:56 -0800 (PST) Received: from ls401.hinet.hr (ls401.hinet.hr [195.29.150.2]) by ls212.hinet.hr (0.0.0/8.11.3) with ESMTP id g1ND5hA01278 for ; Sat, 23 Feb 2002 14:05:44 +0100 Received: from tango (ad13-m139.net.hinet.hr [195.29.48.139]) by ls401.hinet.hr (8.11.6/8.11.3) with SMTP id g1ND6kN13741 for ; Sat, 23 Feb 2002 14:06:46 +0100 Message-Id: <005801c1bc6a$f6431030$0101a8c0@pilar> Date: Sat, 23 Feb 2002 14:03:31 +0100 From: "Annihilator" To: Subject: conf/35241: Change to etc/rc Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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