diff options
author | Roy Marples <roy@marples.name> | 2007-11-28 15:45:03 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-11-28 15:45:03 +0000 |
commit | ac9279cc0d5a00bc17908b2914941186020cd3ce (patch) | |
tree | 850a4fe19917113e75bfd2e79d00b58208468503 /init.d.BSD/ipfw | |
parent | 444f23e2d158389b22d40537fc9b027d9f575229 (diff) |
Massive whitespace cleanup
Diffstat (limited to 'init.d.BSD/ipfw')
-rw-r--r-- | init.d.BSD/ipfw | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/init.d.BSD/ipfw b/init.d.BSD/ipfw index cdddfaeb..9dca799b 100644 --- a/init.d.BSD/ipfw +++ b/init.d.BSD/ipfw @@ -42,8 +42,8 @@ ipfw() { init() { # Load the kernel module - if ! sysctl net.inet.ip.fw.enable=1 >/dev/null 2>/dev/null; then - if ! kldload ipfw ; then + if ! sysctl net.inet.ip.fw.enable=1 >/dev/null 2>&1; then + if ! kldload ipfw; then eend 1 "Unable to load firewall module" return 1 fi @@ -68,7 +68,7 @@ init() { start() { local i= p= log= ebegin "Starting firewall rules" - if ! init ; then + if ! init; then eend 1 "Failed to flush firewall ruleset" return 1 fi @@ -157,7 +157,7 @@ stop() { panic() { ebegin "Stopping firewall rules - hard" - if ! init ; then + if ! init; then eend 1 "Failed to flush firewall ruleset" return 1 fi |