From ca0daa689f722f55ca68f61d2a04ee175a63357c Mon Sep 17 00:00:00 2001 From: teastep Date: Mon, 11 Apr 2005 22:17:57 +0000 Subject: [PATCH] Add OPTIONS to Debian init file git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2050 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall2/init.debian.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Shorewall2/init.debian.sh b/Shorewall2/init.debian.sh index a0a9f18d5..d4ca5dc98 100755 --- a/Shorewall2/init.debian.sh +++ b/Shorewall2/init.debian.sh @@ -5,6 +5,7 @@ WAIT_FOR_IFUP=/usr/share/shorewall/wait4ifup # Note, set INITLOG to /dev/null if you do not want to # keep logs of the firewall (not recommended) INITLOG=/var/log/shorewall-init.log +OPTIONS="-f" test -x $SRWL || exit 0 test -n $INITLOG || { @@ -83,7 +84,7 @@ wait_for_pppd () { shorewall_start () { echo -n "Starting \"Shorewall firewall\": " wait_for_pppd - $SRWL -f start >> $INITLOG 2>&1 && echo "done." || echo_notdone + $SRWL $OPTIONS start >> $INITLOG 2>&1 && echo "done." || echo_notdone return 0 }