mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-09 01:04:06 +01:00
Repair -v brain damage
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3371 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
0ad4ee536d
commit
33cc957521
@ -49,9 +49,12 @@ New Features added in 3.1.4
|
||||
You set the default level of verbosity using the VERBOSE option in
|
||||
shorewall.conf. If you don't set it (as would be the case of you use your
|
||||
old shorewall.conf file) then VERBOSE defaults to a value of 2 which is
|
||||
the old default. A value of 1 supporesses some of the output (like the old
|
||||
-q option did) while a value of 0 makes Shorewall almost silent. That is
|
||||
the value specified in the 3.2 shorewall.conf
|
||||
the old default. A value of 1 suppresses some of the output (like the old
|
||||
-q option did) while a value of 0 makes Shorewall almost silent.
|
||||
|
||||
The value specified in the 3.2 shorewall.conf is 1. So you can make Shorewall
|
||||
as verbose as previously using a single -v and you can make it silent by using
|
||||
a single -1.
|
||||
|
||||
If the default is set at 2, you can still make a command silent by using two
|
||||
"q"s (e.g., shorewall -qq restart).
|
||||
|
@ -935,7 +935,7 @@ show_command() {
|
||||
;;
|
||||
v*)
|
||||
VERBOSE=$(($VERBOSE + 1 ))
|
||||
option=${option#q}
|
||||
option=${option#v}
|
||||
;;
|
||||
*)
|
||||
usage 1
|
||||
@ -1072,7 +1072,7 @@ dump_command() {
|
||||
;;
|
||||
v*)
|
||||
VERBOSE=$(($VERBOSE + 1 ))
|
||||
option=${option#q}
|
||||
option=${option#v}
|
||||
;;
|
||||
*)
|
||||
usage 1
|
||||
@ -1545,7 +1545,7 @@ while [ $finished -eq 0 ]; do
|
||||
;;
|
||||
v*)
|
||||
VERBOSE=$(($VERBOSE + 1 ))
|
||||
option=${option#q}
|
||||
option=${option#v}
|
||||
;;
|
||||
n*)
|
||||
NOROUTES=Yes
|
||||
@ -1811,7 +1811,7 @@ case "$COMMAND" in
|
||||
case $option in
|
||||
v*)
|
||||
VERBOSE=$(($VERBOSE + 1 ))
|
||||
option=${option#q}
|
||||
option=${option#v}
|
||||
;;
|
||||
-)
|
||||
finished=1
|
||||
|
@ -68,9 +68,9 @@ STARTUP_ENABLED=No
|
||||
# 1 -- Major progress messages displayed
|
||||
# 2 -- All progress messages displayed (old default behavior)
|
||||
#
|
||||
# If not specified, the 2 is assumed
|
||||
# If not specified, then 2 is assumed
|
||||
|
||||
VERBOSE=0
|
||||
VERBOSE=1
|
||||
|
||||
###############################################################################
|
||||
# L O G G I N G
|
||||
|
Loading…
Reference in New Issue
Block a user