forked from extern/shorewall_code
Remove up|down processing for CIs
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
96f4615fda
commit
5ec35bcdc2
@ -635,11 +635,6 @@ case "$COMMAND" in
|
||||
run_it $g_firewall $debugging $COMMAND
|
||||
[ -n "$nolock" ] || mutex_off
|
||||
;;
|
||||
up|down)
|
||||
[ -n "$nolock" ] || mutex_on
|
||||
run_it $g_firewall $debugging $COMMAND
|
||||
[ -n "$nolock" ] || mutex_off
|
||||
;;
|
||||
reset)
|
||||
verify_firewall_script
|
||||
[ -n "$nolock" ] || mutex_on
|
||||
|
@ -1635,12 +1635,6 @@ case "$COMMAND" in
|
||||
run_it $g_firewall $g_debugging $COMMAND
|
||||
[ -n "$nolock" ] || mutex_off
|
||||
;;
|
||||
up|down)
|
||||
[ -x $g_firewall ] || fatal_error "Shorewall has never been started"
|
||||
[ -n "$nolock" ] || mutex_on
|
||||
run_it $g_firewall $g_debugging $@
|
||||
[ -n "$nolock" ] || mutex_off
|
||||
;;
|
||||
reset)
|
||||
get_config
|
||||
shift
|
||||
|
@ -619,11 +619,6 @@ case "$COMMAND" in
|
||||
run_it $g_firewall $debugging $COMMAND
|
||||
[ -n "$nolock" ] || mutex_off
|
||||
;;
|
||||
up|down)
|
||||
[ -n "$nolock" ] || mutex_on
|
||||
run_it $g_firewall $debugging $@
|
||||
[ -n "$nolock" ] || mutex_off
|
||||
;;
|
||||
restart)
|
||||
shift
|
||||
restart_command $@
|
||||
|
@ -1548,11 +1548,6 @@ case "$COMMAND" in
|
||||
run_it $g_firewall $g_debugging $COMMAND
|
||||
[ -n "$nolock" ] || mutex_off
|
||||
;;
|
||||
up|down)
|
||||
[ -n "$nolock" ] || mutex_on
|
||||
run_it $g_firewall $g_debugging $nolock $@
|
||||
[ -n "$nolock" ] || mutex_off
|
||||
;;
|
||||
reset)
|
||||
get_config
|
||||
shift
|
||||
|
Loading…
Reference in New Issue
Block a user