Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Oct 2002 15:23:00 -0400 (EDT)
From:      Chris Pepper <pepper@rockefeller.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Alexandre Peixoto <alexandref@tcoip.com.br>
Subject:   docs/44312: Typos in /usr/src/share/examples/ipfw/change_rules.sh
Message-ID:  <20021020192300.C2425AA8B@www.reppep.com>

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

>Number:         44312
>Category:       docs
>Synopsis:       Typos in /usr/src/share/examples/ipfw/change_rules.sh
>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:   Sun Oct 20 12: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 #4: Sun Oct 20 01:54:39 EDT 2002 root@www.reppep.com:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	Comments in /usr/src/share/examples/ipfw/change_rules.sh have various typos.
	
>How-To-Repeat:
	more /usr/src/share/examples/ipfw/change_rules.sh
	
>Fix:
	Apply this patch.

--- change_rules.sh.patch begins here ---
--- /usr/src/share/examples/ipfw/change_rules.sh	Tue Oct  9 09:20:25 2001
+++ change_rules.sh.fixed	Sun Oct 20 15:20:45 2002
@@ -30,7 +30,7 @@
 #
 # Invoke this script to edit ${firewall_script}. It will call ${EDITOR},
 # or vi(1) if the environment variable is not set, for you to edit
-# ${firewall_script}, asks for confirmation and then run
+# ${firewall_script}, ask for confirmation, and then run
 # ${firewall_script}. You can then examine the output of ipfw list and
 # confirm whether you want the new version or not.
 #
@@ -39,14 +39,14 @@
 # flush is present in it).
 #
 # If the new rules are confirmed, they'll replace ${firewall_script} and
-# the previous ones will be copied to ${firewall_script}.{date}. A mail
-# will also be sent to root with the unified diffs of the rule change.
+# the previous ones will be copied to ${firewall_script}.{date}. Mail
+# will also be sent to root with a unified diff of the rule change.
 #
-# Non-approved rules are kept in ${firewall_script}.new, and you are
+# Unapproved rules are kept in ${firewall_script}.new, and you are
 # offered the option of changing them instead of the present rules when
 # you call this script.
 #
-# It is suggested improving this script by using some version control
+# This script could be improved by using version control
 # software.
 
 if [ -r /etc/defaults/rc.conf ]; then
@@ -121,8 +121,8 @@
 
 cat <<!
 The rules will be changed now. If the message 'Type y to keep the new
-rules' do not appear on the screen or the y key is not pressed in 30
-seconds, the former rules will be restored.
+rules' does not appear on the screen or the y key is not pressed in 30
+seconds, the current rules will be restored.
 The TCP/IP connections might be broken during the change. If so, restore
 the ssh/telnet connection being used.
 !
@@ -144,7 +144,7 @@
 cp ${edit_file} ${edit_file}.$DATE
 mv ${edit_file}.new ${edit_file} 
 cat <<!
-The new rules are now default. The previous rules have been preserved in
+The new rules are now installed. The previous rules have been preserved in
 the file ${edit_file}.$DATE
 !
 diff -F "^# .*[A-Za-z]" -u ${edit_file}.$DATE ${edit_file} \
--- change_rules.sh.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?20021020192300.C2425AA8B>