forked from extern/shorewall_code
Correct reenable logic
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
1cde92e8f3
commit
846e8c4ece
@ -419,9 +419,12 @@ case "$COMMAND" in
|
|||||||
[ $# -ne 1 ] && usage 2
|
[ $# -ne 1 ] && usage 2
|
||||||
mutex_on
|
mutex_on
|
||||||
if product_is_started; then
|
if product_is_started; then
|
||||||
|
COMMAND=disable
|
||||||
detect_configuration $1
|
detect_configuration $1
|
||||||
COMMAND=enable disable_provider $1 Yes
|
disable_provider $1 Yes
|
||||||
COMMAND=disable enable_provider $1 Yes
|
COMMAND=enable
|
||||||
|
detect_configuration $1
|
||||||
|
enable_provider $1 Yes
|
||||||
fi
|
fi
|
||||||
mutex_off
|
mutex_off
|
||||||
status=0
|
status=0
|
||||||
|
Loading…
Reference in New Issue
Block a user