diff options
author | yar <yar@FreeBSD.org> | 2006-07-25 17:28:18 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2006-07-25 17:28:18 +0000 |
commit | c7502768a7a2a40779e67a903e5b8212803d7e7b (patch) | |
tree | bc101601221a0ac3165a29530009ea136e31e941 /etc | |
parent | 14382e740717a32fd9247bcbcf7c7b5ce79c9f12 (diff) | |
download | FreeBSD-src-c7502768a7a2a40779e67a903e5b8212803d7e7b.zip FreeBSD-src-c7502768a7a2a40779e67a903e5b8212803d7e7b.tar.gz |
De-uglify messages from the ipfw script.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc.d/ipfw | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/etc/rc.d/ipfw b/etc/rc.d/ipfw index e88c0d8..88eff40 100644 --- a/etc/rc.d/ipfw +++ b/etc/rc.d/ipfw @@ -35,23 +35,21 @@ ipfw_start() [ -z "${firewall_script}" ] && firewall_script=/etc/rc.firewall if [ -r "${firewall_script}" ]; then - echo -n 'Starting divert daemons:' if [ -f /etc/rc.d/natd ] ; then /etc/rc.d/natd start fi . "${firewall_script}" - echo -n 'Firewall rules loaded' + echo 'Firewall rules loaded.' elif [ "`ipfw list 65535`" = "65535 deny ip from any to any" ]; then echo 'Warning: kernel has firewall functionality, but' \ ' firewall rules are not enabled.' echo ' All ip services are disabled.' fi - echo '.' # Firewall logging # if checkyesno firewall_logging; then - echo 'Firewall logging enabled' + echo 'Firewall logging enabled.' sysctl net.inet.ip.fw.verbose=1 >/dev/null fi |