diff --git a/Shorewall/Perl/prog.footer b/Shorewall/Perl/prog.footer index 7b21d30fa..8d1d99cd1 100644 --- a/Shorewall/Perl/prog.footer +++ b/Shorewall/Perl/prog.footer @@ -373,20 +373,24 @@ case "$COMMAND" in [ $# -eq 1 ] && exit 0 shift [ $# -ne 1 ] && usage 2 + mutex_on if product_is_started; then detect_configuration enable_provider $1 fi + mutex_off status=0 ;; disable) [ $# -eq 1 ] && exit 0 shift [ $# -ne 1 ] && usage 2 + mutex_on if product_is_started; then detect_configuration disable_provider $1 fi + mutex_off status=0 ;; run)