Make start with with 'ash' again

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1232 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2004-03-26 21:05:42 +00:00
parent bc20b88b35
commit 20fbb4b12a
3 changed files with 7 additions and 7 deletions

View File

@ -23,3 +23,5 @@ Changes since 2.0.0
11) Replace 'subnet' with 'network' in the code
12) Fix item 10 above :-(
13) Replace good code with crap to satisfy 'ash'.

View File

@ -534,8 +534,8 @@ if_match() # $1 = Name in interfaces file - may end in "+"
local pattern=${1%+}
local interface=${2%+}
test "x${interface:0:${#pattern}}" = "x${pattern}"
# test "x${interface:0:${#pattern}}" = "x${pattern}"
test "x$(echo ${interface} | cut -b -${#pattern} )" = "x${pattern}"
}
#

View File

@ -13,12 +13,10 @@ Problems Corrected since 2.0.0
3) Thanks to Sean Mathews, a long-standing problem with Proxy ARP and
IPSEC has been corrected. Thanks Sean!!!
Problems Corrected since 2.0.1 RC1
Problems Corrected since 2.0.1 RC2
1) Although the release notes listed a set of new options available in
the /etc/shorewall/hosts file, those options were not accepted.
2) The 'nobogons' interface option didn't work.
1) A problem which caused "shorewall start" to fail when using a
light-weight shell such as 'ash' has been corrected.
-----------------------------------------------------------------------
Issues when migrating from Shorewall 2.0.0 to Shorewall 2.0.1: