Work around yet one more ash bug

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5164 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-12-26 20:31:40 +00:00
parent 7f8df58f89
commit 2efa3c4e58
2 changed files with 4 additions and 6 deletions

View File

@ -213,10 +213,6 @@ cd "$(dirname $0)"
echo "Installing Shorewall Version $VERSION" echo "Installing Shorewall Version $VERSION"
#
# First do Backups
#
# #
# Check for /etc/shorewall # Check for /etc/shorewall
# #

View File

@ -1231,13 +1231,15 @@ do_log_rule_limit() # $1 = log level, $2 = chain, $3 = display Chain $4 = dispos
local disposition=$4 local disposition=$4
local rulenum= local rulenum=
local limit= local limit=
local tag=${6:+$6 } local tag=
local command=${7:--A} local command=
local prefix local prefix
local base=$(chain_base $displayChain) local base=$(chain_base $displayChain)
local pf local pf
limit="${5:-$LOGLIMIT}" # Do this here rather than in the declaration above to appease /bin/ash. limit="${5:-$LOGLIMIT}" # Do this here rather than in the declaration above to appease /bin/ash.
tag=${6:+$6 }
command=${7:--A}
shift 7 shift 7