Eliminate redundate setting of PRODUCT

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2010-03-01 08:32:59 -08:00
parent cfa09dce22
commit f11bfd3890
2 changed files with 6 additions and 6 deletions

View File

@ -14,8 +14,6 @@ usage() {
#
# Start trace if first arg is "debug" or "trace"
#
[ -n "${PRODUCT:=Shorewall}" ]
if [ $# -gt 1 ]; then
if [ "x$1" = "xtrace" ]; then
set -x
@ -25,7 +23,9 @@ if [ $# -gt 1 ]; then
shift
fi
fi
#
# Map VERBOSE to VERBOSITY for compatibility with old Shorewall-lite installations
#
[ -z "$VERBOSITY" ] && [ -n "$VERBOSE" ] && VERBOSITY=$VERBOSE
initialize

View File

@ -14,8 +14,6 @@ usage() {
#
# Start trace if first arg is "debug" or "trace"
#
[ -n "${PRODUCT:=Shorewall6}" ]
if [ $# -gt 1 ]; then
if [ "x$1" = "xtrace" ]; then
set -x
@ -25,7 +23,9 @@ if [ $# -gt 1 ]; then
shift
fi
fi
#
# Map VERBOSE to VERBOSITY for compatibility with old Shorewall6-lite installations
#
[ -z "$VERBOSITY" ] && [ -n "$VERBOSE" ] && VERBOSITY=$VERBOSE
initialize