mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-30 03:23:47 +01:00
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:
parent
7f8df58f89
commit
2efa3c4e58
@ -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
|
||||||
#
|
#
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user