Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Oct 2002 21:24:19 -0400 (EDT)
From:      Chris Pepper <pepper@rockefeller.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Poul-Henning Kamp <phk@FreeBSD.org>
Subject:   docs/44363: /etc/rc.firewall & /etc/rc.firewall6 don't include header lines
Message-ID:  <20021022012419.42A82AC1F@www.reppep.com>

next in thread | raw e-mail | index | archive | help

>Number:         44363
>Category:       docs
>Synopsis:       /etc/rc.firewall & /etc/rc.firewall6 don't include header lines
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 21 18:30:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Chris Pepper
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD www.reppep.com 4.7-STABLE FreeBSD 4.7-STABLE #6: Sun Oct 20 18:15:59 EDT 2002 root@www.reppep.com:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	/etc/rc.firewall & /etc/rc.firewall6 don't start with "#!/bin/sh -", but they probably should (like other /etc/rc.* files).
	
>How-To-Repeat:
	head -1 /etc/rc.*
	
>Fix:
	Add:

#!/bin/sh -
#

	to /etc/rc.firewall & /etc/rc.firewall6.
	

--- rc.firewall.patch begins here ---
--- /etc/rc.firewall	Tue Jun 11 00:20:09 2002
+++ rc.firewall.fixed	Mon Oct 21 21:16:32 2002
@@ -1,3 +1,5 @@
+#!/bin/sh -
+#
 # Copyright (c) 1996  Poul-Henning Kamp
 # All rights reserved.
 #
--- rc.firewall.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:
 	

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021022012419.42A82AC1F>