From 8eff8f0309d169bdac46fb2de9cfd1afd7e8bb70 Mon Sep 17 00:00:00 2001 From: teastep Date: Tue, 28 Feb 2006 20:24:28 +0000 Subject: [PATCH] Update prog.footer.suse to match prog.footer git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3606 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/prog.footer.suse | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Shorewall/prog.footer.suse b/Shorewall/prog.footer.suse index cdd1f2867..78c8ed49d 100644 --- a/Shorewall/prog.footer.suse +++ b/Shorewall/prog.footer.suse @@ -62,6 +62,7 @@ case "$COMMAND" in progress_message3 "Starting Shorewall...." define_firewall status=$? + [ $status = 0 -a -n "$SUBSYSLOCK" ] && touch $SUBSYSLOCK progress_message3 "done." fi ;; @@ -69,6 +70,7 @@ case "$COMMAND" in progress_message3 "Stopping Shorewall...." stop_firewall status=0 + [ -n "$SUBSYSLOCK" ] && rm -f $SUBSYSLOCK progress_message3 "done." ;; restart) @@ -86,11 +88,13 @@ case "$COMMAND" in restore) restore_firewall status=$? + [ $status = 0 -a -n "$SUBSYSLOCK" ] && touch $SUBSYSLOCK ;; clear) progress_message3 "Clearing Shorewall...." clear_firewall status=0 + [ -n "$SUBSYSLOCK" ] && rm -f $SUBSYSLOCK progress_message3 "done." ;; status)