forked from extern/shorewall_code
Don't strip files if the perl compiler will be used
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5745 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
eb3ef2e636
commit
3271f183e8
@ -862,9 +862,14 @@ setup_ecn() # $1 = file name
|
||||
flushmangle $chain
|
||||
else
|
||||
createmanglechain $chain
|
||||
|
||||
if [ -n "$MANGLE_FORWARD" ]; then
|
||||
run_iptables -t mangle -A PREROUTING -p tcp -o $interface -j $chain
|
||||
else
|
||||
run_iptables -t mangle -A POSTROUTING -p tcp -o $interface -j $chain
|
||||
run_iptables -t mangle -A OUTPUT -p tcp -o $interface -j $chain
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
for host in $hosts; do
|
||||
|
@ -2087,6 +2087,7 @@ do_initialize() {
|
||||
strip_file hosts
|
||||
|
||||
if [ $PROGRAM = compiler ]; then
|
||||
if [ $SHOREWALL_COMPILER = 'shell' ]; then
|
||||
strip_file_and_lib_load accounting accounting
|
||||
|
||||
if [ -n "$USE_ACTIONS" ]; then
|
||||
@ -2115,16 +2116,13 @@ do_initialize() {
|
||||
strip_file_and_lib_load tcrules tcrules
|
||||
strip_file tos
|
||||
strip_file_and_lib_load tunnels tunnels
|
||||
if [ "$SHOREWALL_COMPILER" = perl ]; then
|
||||
FW=
|
||||
else
|
||||
report_capabilities1 > $TMP_DIR/capabilities
|
||||
export TMP_DIR
|
||||
export CONFIG_PATH
|
||||
export VERSION
|
||||
export FW
|
||||
fi
|
||||
fi
|
||||
#
|
||||
# Clear $FW
|
||||
#
|
||||
FW=
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user