diff --git a/Shorewall-lite/init.debian.sh b/Shorewall-lite/init.debian.sh index ee7dd4a15..286ff686d 100755 --- a/Shorewall-lite/init.debian.sh +++ b/Shorewall-lite/init.debian.sh @@ -92,10 +92,11 @@ shorewall_start () { # stop the firewall shorewall_stop () { - echo -n "Stopping \"Shorewall firewall\": " if [ "$SAFESTOP" = 1 ]; then + echo -n "Stopping \"Shorewall Lite firewall\": " $SRWL $SRWL_OPTS stop >> $INITLOG 2>&1 && echo "done." || echo_notdone else + echo -n "Clearing all \"Shorewall Lite firewall\" rules: " $SRWL $SRWL_OPTS clear >> $INITLOG 2>&1 && echo "done." || echo_notdone fi return 0 diff --git a/Shorewall/init.debian.sh b/Shorewall/init.debian.sh index 5052f6b60..020ac8bc6 100755 --- a/Shorewall/init.debian.sh +++ b/Shorewall/init.debian.sh @@ -97,10 +97,11 @@ shorewall_start () { # stop the firewall shorewall_stop () { - echo -n "Stopping \"Shorewall firewall\": " if [ "$SAFESTOP" = 1 ]; then + echo -n "Stopping \"Shorewall firewall\": " $SRWL $SRWL_OPTS stop >> $INITLOG 2>&1 && echo "done." || echo_notdone else + echo -n "Clearing all \"Shorewall firewall\" rules: " $SRWL $SRWL_OPTS clear >> $INITLOG 2>&1 && echo "done." || echo_notdone fi return 0 diff --git a/Shorewall6-lite/init.debian.sh b/Shorewall6-lite/init.debian.sh index 063cded99..cd8fbf8ef 100755 --- a/Shorewall6-lite/init.debian.sh +++ b/Shorewall6-lite/init.debian.sh @@ -92,10 +92,11 @@ shorewall6_start () { # stop the firewall shorewall6_stop () { - echo -n "Stopping \"Shorewall6 Lite firewall\": " if [ "$SAFESTOP" = 1 ]; then + echo -n "Stopping \"Shorewall6 Lite firewall\": " $SRWL $SRWL_OPTS stop >> $INITLOG 2>&1 && echo "done." || echo_notdone else + echo -n "Clearing all \"Shorewall6 Lite firewall\" rules: " $SRWL $SRWL_OPTS clear >> $INITLOG 2>&1 && echo "done." || echo_notdone fi return 0 diff --git a/Shorewall6/init.debian.sh b/Shorewall6/init.debian.sh index ad9d7c659..3daed1999 100755 --- a/Shorewall6/init.debian.sh +++ b/Shorewall6/init.debian.sh @@ -97,10 +97,11 @@ shorewall6_start () { # stop the firewall shorewall6_stop () { - echo -n "Stopping \"Shorewall6 firewall\": " if [ "$SAFESTOP" = 1 ]; then + echo -n "Stopping \"Shorewall6 firewall\": " $SRWL $SRWL_OPTS stop >> $INITLOG 2>&1 && echo "done." || echo_notdone else + echo -n "Clearing all \"Shorewall6 firewall\" rules: " $SRWL $SRWL_OPTS clear >> $INITLOG 2>&1 && echo "done." || echo_notdone fi return 0