From 092c2ef8f7178e8600b1916460040b012a8512fa Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sat, 1 Sep 2012 08:21:45 -0700 Subject: [PATCH] No longer process the local shorewall.conf when compiling from a directory Signed-off-by: Tom Eastep --- Shorewall-core/lib.cli | 2 +- Shorewall/lib.cli-std | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Shorewall-core/lib.cli b/Shorewall-core/lib.cli index ef1995aa4..3cf4fcb97 100644 --- a/Shorewall-core/lib.cli +++ b/Shorewall-core/lib.cli @@ -3139,7 +3139,7 @@ shorewall_cli() { g_shorewalldir= VERBOSE= - VERBOSITY= + VERBOSITY=1 [ -n "$g_lite" ] || . ${g_basedir}/lib.cli-std diff --git a/Shorewall/lib.cli-std b/Shorewall/lib.cli-std index 2f68ce9ad..7f23ff344 100644 --- a/Shorewall/lib.cli-std +++ b/Shorewall/lib.cli-std @@ -34,8 +34,6 @@ get_config() { ensure_config_path - - if [ "$1" = Yes ]; then params=$(find_file params) @@ -378,7 +376,7 @@ compiler() { # # Get the config from $g_shorewalldir # - [ -n "$g_shorewalldir" -a "$g_shorewalldir" != ${g_confdir} ] && get_config + get_config Yes case $COMMAND in *start|try|refresh) @@ -1648,7 +1646,6 @@ compiler_command() { case $COMMAND in compile) - get_config Yes shift compile_command $@ ;; @@ -1658,7 +1655,6 @@ compiler_command() { refresh_command $@ ;; check) - get_config Yes shift check_command $@ ;;