FreeBSD Bugzilla – Attachment 25964 Details for
Bug 44312
Typos in /usr/src/share/examples/ipfw/change_rules.sh
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
change_rules.sh.patch
change_rules.sh.patch (text/plain), 2.11 KB, created by
Chris Pepper
on 2002-10-20 20:30:01 UTC
(
hide
)
Description:
change_rules.sh.patch
Filename:
MIME Type:
Creator:
Chris Pepper
Created:
2002-10-20 20:30:01 UTC
Size:
2.11 KB
patch
obsolete
>--- /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} \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 44312
: 25964