Restore 3.4 code for busybox compatibility

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8178 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2008-02-10 21:50:05 +00:00
parent 6c5b8914c7
commit 7da1a3ef6b

View File

@ -44,7 +44,7 @@ setup_traffic_shaping()
local rateunit rate
rate=$1
rateunit=$( echo $rate | sed -e 's/[0-9]*//')
rate=$( echo $rate | sed -e 's/[a-z]*//gi')
rate=$( echo $rate | sed -e 's/[a-zA-Z]*//g')
case $rateunit in
kbit|Kbit)