From ac9279cc0d5a00bc17908b2914941186020cd3ce Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 28 Nov 2007 15:45:03 +0000 Subject: Massive whitespace cleanup --- init.d.BSD/ipfw | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'init.d.BSD/ipfw') 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 -- cgit v1.2.3