Remove up|down processing for CIs

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2010-08-08 07:11:38 -07:00
parent 96f4615fda
commit 5ec35bcdc2
4 changed files with 0 additions and 21 deletions

View File

@ -635,11 +635,6 @@ case "$COMMAND" in
run_it $g_firewall $debugging $COMMAND run_it $g_firewall $debugging $COMMAND
[ -n "$nolock" ] || mutex_off [ -n "$nolock" ] || mutex_off
;; ;;
up|down)
[ -n "$nolock" ] || mutex_on
run_it $g_firewall $debugging $COMMAND
[ -n "$nolock" ] || mutex_off
;;
reset) reset)
verify_firewall_script verify_firewall_script
[ -n "$nolock" ] || mutex_on [ -n "$nolock" ] || mutex_on

View File

@ -1635,12 +1635,6 @@ case "$COMMAND" in
run_it $g_firewall $g_debugging $COMMAND run_it $g_firewall $g_debugging $COMMAND
[ -n "$nolock" ] || mutex_off [ -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) reset)
get_config get_config
shift shift

View File

@ -619,11 +619,6 @@ case "$COMMAND" in
run_it $g_firewall $debugging $COMMAND run_it $g_firewall $debugging $COMMAND
[ -n "$nolock" ] || mutex_off [ -n "$nolock" ] || mutex_off
;; ;;
up|down)
[ -n "$nolock" ] || mutex_on
run_it $g_firewall $debugging $@
[ -n "$nolock" ] || mutex_off
;;
restart) restart)
shift shift
restart_command $@ restart_command $@

View File

@ -1548,11 +1548,6 @@ case "$COMMAND" in
run_it $g_firewall $g_debugging $COMMAND run_it $g_firewall $g_debugging $COMMAND
[ -n "$nolock" ] || mutex_off [ -n "$nolock" ] || mutex_off
;; ;;
up|down)
[ -n "$nolock" ] || mutex_on
run_it $g_firewall $g_debugging $nolock $@
[ -n "$nolock" ] || mutex_off
;;
reset) reset)
get_config get_config
shift shift