More verbosity control -- take 2

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3360 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-01-23 20:47:30 +00:00
parent 52f7028aa5
commit dfa6678ec5
2 changed files with 5 additions and 1 deletions

View File

@ -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"

View File

@ -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}