Fix stupid bugs

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5981 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-04-17 18:02:58 +00:00
parent 85b5fb2e45
commit b0b5a067d7
3 changed files with 3 additions and 7 deletions

View File

@ -353,7 +353,7 @@ on the SHOREWALL_COMPILER setting in shorewall.conf.
The value of this new option can be either 'perl' or 'shell'. The value of this new option can be either 'perl' or 'shell'.
If you add 'SHOREWALL_COMPILER=shell' to /etc/shorewall/shorewall.conf If you add 'SHOREWALL_COMPILER=perl' to /etc/shorewall/shorewall.conf
then by default, the new compiler will be used on the system. If you then by default, the new compiler will be used on the system. If you
add it to shorewall.conf in a separate directory (such as a add it to shorewall.conf in a separate directory (such as a
Shorewall-lite export directory) then the new compiler will only be Shorewall-lite export directory) then the new compiler will only be

View File

@ -247,11 +247,7 @@ compiler() {
if [ -n "$SHOREWALL_COMPILER" ]; then if [ -n "$SHOREWALL_COMPILER" ]; then
compiler="$SHOREWALL_COMPILER" compiler="$SHOREWALL_COMPILER"
elif [ -x $sc ]; then elif [ -x $sc ]; then
if [ -x $pc ]; then
compiler=
else
compiler=shell compiler=shell
fi
elif [ -x $pc ]; then elif [ -x $pc ]; then
compiler=perl compiler=perl
else else

View File

@ -3715,7 +3715,7 @@ __EOF__
save_progress_message "Setting up Route Filtering..." save_progress_message "Setting up Route Filtering..."
if [ -z "$ROUTE_FILTER" ]; THEN if [ -z "$ROUTE_FILTER" ]; then
indent >&3 << __EOF__ indent >&3 << __EOF__
for f in /proc/sys/net/ipv4/conf/*; do for f in /proc/sys/net/ipv4/conf/*; do