From dfa6678ec5898a521f53f00318fb61235abd87dc Mon Sep 17 00:00:00 2001 From: teastep Date: Mon, 23 Jan 2006 20:47:30 +0000 Subject: [PATCH] More verbosity control -- take 2 git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3360 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/compiler | 2 +- Shorewall/prog.footer | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Shorewall/compiler b/Shorewall/compiler index 3d438d2c4..f02014436 100755 --- a/Shorewall/compiler +++ b/Shorewall/compiler @@ -8419,7 +8419,7 @@ __EOF__ # These variables are required by the library functions called in this script # [ -n \${COMMAND:=restart} ] - [ -n \${VERBOSE:=0} ] + VERBOSE=${VERBOSE:=0} MODULESDIR="$MODULESDIR" MODULE_SUFFIX="$MODULE_SUFFIX" LOGLIMIT="$LOGLIMIT" diff --git a/Shorewall/prog.footer b/Shorewall/prog.footer index f9d3791c2..9f2124759 100644 --- a/Shorewall/prog.footer +++ b/Shorewall/prog.footer @@ -26,6 +26,10 @@ while [ $finished -eq 0 -a $# -gt 0 ]; do VERBOSE=$(($VERBOSE + 1 )) option=${option#v} ;; + q*) + VERBOSE=$(($VERBOSE - 1 )) + option=${option#v} + ;; n*) NOROUTES=Yes option=${option#n}