From 18ce5d00c3829ec38914f87db7375f1ad4b2d0ec Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Fri, 1 Oct 2010 13:56:06 -0700 Subject: [PATCH] Correct Debian Lite init scripts Signed-off-by: Tom Eastep --- Shorewall-lite/init.debian.sh | 3 +-- Shorewall6-lite/init.debian.sh | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Shorewall-lite/init.debian.sh b/Shorewall-lite/init.debian.sh index 14edb2bda..178358a74 100755 --- a/Shorewall-lite/init.debian.sh +++ b/Shorewall-lite/init.debian.sh @@ -17,10 +17,9 @@ SRWL=/sbin/shorewall-lite SRWL_OPTS="-tvv" test -n ${INITLOG:=/var/log/shorewall-lite-init.log} -[ "$INITLOG" eq "/dev/null" && SHOREWALL_INIT_SCRIPT=1 || SHOREWALL_INIT_SCRIPT=0 +[ "$INITLOG" = "/dev/null" ] && SHOREWALL_INIT_SCRIPT=1 || SHOREWALL_INIT_SCRIPT=0 export SHOREWALL_INIT_SCRIPT - test -x $SRWL || exit 0 test -x $WAIT_FOR_IFUP || exit 0 test -n "$INITLOG" || { diff --git a/Shorewall6-lite/init.debian.sh b/Shorewall6-lite/init.debian.sh index c10437666..c63a8f704 100755 --- a/Shorewall6-lite/init.debian.sh +++ b/Shorewall6-lite/init.debian.sh @@ -17,7 +17,7 @@ SRWL=/sbin/shorewall6-lite SRWL_OPTS="-tvv" test -n ${INITLOG:=/var/log/shorewall6-lite-init.log} -[ "$INITLOG" eq "/dev/null" && SHOREWALL_INIT_SCRIPT=1 || SHOREWALL_INIT_SCRIPT=0 +[ "$INITLOG" = "/dev/null" ] && SHOREWALL_INIT_SCRIPT=1 || SHOREWALL_INIT_SCRIPT=0 export SHOREWALL_INIT_SCRIPT