Correct Shorewall-init Debian init script.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2014-06-15 08:09:25 -07:00
parent a0bb7ca018
commit 041e8c445e

View File

@ -105,7 +105,7 @@ shorewall_start () {
for PRODUCT in $PRODUCTS; do
setstatedir
if [ -x ${STATEDIR}/$PRODUCT/firewall ]; then
if [ -x ${STATEDIR}/firewall ]; then
#
# Run in a sub-shell to avoid name collisions
#
@ -117,7 +117,7 @@ shorewall_start () {
fi
)
else
echo echo_notdone
echo_notdone
fi
done
@ -135,7 +135,7 @@ shorewall_stop () {
for PRODUCT in $PRODUCTS; do
setstatedir
if [ -x ${STATEDIR}/$PRODUCT/firewall ]; then
if [ -x ${STATEDIR}/firewall ]; then
${STATEDIR}/$PRODUCT/firewall ${OPTIONS} clear || echo_notdone
fi
done