mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-22 23:53:30 +01:00
prog.footer: disabling already disabled inteface is not an error.
Neither is enabling already enabled interface Signed-off-by: Tuomo Soini <tis@foobar.fi>
This commit is contained in:
parent
f629d574e6
commit
4edd6026f0
@ -378,7 +378,7 @@ case "$COMMAND" in
|
|||||||
mutex_on
|
mutex_on
|
||||||
if product_is_started; then
|
if product_is_started; then
|
||||||
detect_configuration $1
|
detect_configuration $1
|
||||||
enable_provider $1
|
enable_provider $1 Yes
|
||||||
fi
|
fi
|
||||||
mutex_off
|
mutex_off
|
||||||
status=0
|
status=0
|
||||||
@ -390,7 +390,7 @@ case "$COMMAND" in
|
|||||||
mutex_on
|
mutex_on
|
||||||
if product_is_started; then
|
if product_is_started; then
|
||||||
detect_configuration $1
|
detect_configuration $1
|
||||||
disable_provider $1
|
disable_provider $1 Yes
|
||||||
fi
|
fi
|
||||||
mutex_off
|
mutex_off
|
||||||
status=0
|
status=0
|
||||||
|
Loading…
Reference in New Issue
Block a user