From annihilator.c@usa.net  Sat Feb 23 05:06:58 2002
Return-Path: <annihilator.c@usa.net>
Received: from ls212.hinet.hr (ls212.hinet.hr [195.29.150.91])
	by hub.freebsd.org (Postfix) with ESMTP id 3B28E37B400
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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" <annihilator.c@usa.net>
To: <FreeBSD-gnats-submit@freebsd.org>
Subject: Change to etc/rc

>Number:         35241
>Category:       conf
>Synopsis:       Change to etc/rc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 23 05:10:05 PST 2002
>Closed-Date:    Sat Feb 23 06:45:05 PST 2002
>Last-Modified:  Sat Feb 23 06:48:05 PST 2002
>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:
State-Changed-From-To: open->closed 
State-Changed-By: cjc 
State-Changed-When: Sat Feb 23 06:45:05 PST 2002 
State-Changed-Why:  
Duplicate of PR conf/34993. This has already been changed in revisions 
1.295 and 1.212.2.40. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=35241 
>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:
 
 
