From 5ec35bcdc244ccffa0524a6fd399357c31a94891 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sun, 8 Aug 2010 07:11:38 -0700 Subject: [PATCH] Remove up|down processing for CIs Signed-off-by: Tom Eastep --- Shorewall-lite/shorewall-lite | 5 ----- Shorewall/shorewall | 6 ------ Shorewall6-lite/shorewall6-lite | 5 ----- Shorewall6/shorewall6 | 5 ----- 4 files changed, 21 deletions(-) diff --git a/Shorewall-lite/shorewall-lite b/Shorewall-lite/shorewall-lite index 9f017b5be..df190fe97 100755 --- a/Shorewall-lite/shorewall-lite +++ b/Shorewall-lite/shorewall-lite @@ -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 diff --git a/Shorewall/shorewall b/Shorewall/shorewall index f706bbcb8..7485d5e94 100755 --- a/Shorewall/shorewall +++ b/Shorewall/shorewall @@ -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 diff --git a/Shorewall6-lite/shorewall6-lite b/Shorewall6-lite/shorewall6-lite index 951b6867c..ba7ca2da9 100755 --- a/Shorewall6-lite/shorewall6-lite +++ b/Shorewall6-lite/shorewall6-lite @@ -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 $@ diff --git a/Shorewall6/shorewall6 b/Shorewall6/shorewall6 index f50309393..ab32081f1 100755 --- a/Shorewall6/shorewall6 +++ b/Shorewall6/shorewall6 @@ -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