diff --git a/Shorewall/Perl/prog.footer6 b/Shorewall/Perl/prog.footer6 index 74b265bbe..2ad724998 100644 --- a/Shorewall/Perl/prog.footer6 +++ b/Shorewall/Perl/prog.footer6 @@ -90,6 +90,7 @@ else status=0 else progress_message3 "Starting $PRODUCT...." + detect_configuration define_firewall status=$? [ -n "$SUBSYSLOCK" -a $status -eq 0 ] && touch $SUBSYSLOCK @@ -99,6 +100,7 @@ else stop) [ $# -ne 1 ] && usage 2 progress_message3 "Stopping $PRODUCT...." + detect_configuration stop_firewall status=0 [ -n "$SUBSYSLOCK" ] && rm -f $SUBSYSLOCK @@ -141,6 +143,7 @@ else progress_message3 "Starting $PRODUCT...." fi + detect_configuration define_firewall status=$? if [ -n "$SUBSYSLOCK" ]; then @@ -152,6 +155,7 @@ else [ $# -ne 1 ] && usage 2 if shorewall6_is_started; then progress_message3 "Refreshing $PRODUCT...." + detect_configuration define_firewall status=$? progress_message3 "done." @@ -162,6 +166,7 @@ else ;; restore) [ $# -ne 1 ] && usage 2 + detect_configuration define_firewall status=$? if [ -n "$SUBSYSLOCK" ]; then