mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-21 02:08:48 +02:00
Fully qualify file name in a couple of messages; simplify some really silly code in the compiler
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4187 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
3db2166e12
commit
7b8ea6ba02
@ -8425,19 +8425,19 @@ __EOF__
|
|||||||
setup_masq $masq
|
setup_masq $masq
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -n "$MANGLE_ENABLED" ]; then
|
||||||
tos=$(find_file tos)
|
tos=$(find_file tos)
|
||||||
if [ -f $tos -a -n "$MANGLE_ENABLED" ]; then
|
if [ -f $tos ]; then
|
||||||
save_progress_message "Setting up TOS..."
|
save_progress_message "Setting up TOS..."
|
||||||
process_tos $tos
|
process_tos $tos
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ecn=$(find_file ecn)
|
ecn=$(find_file ecn)
|
||||||
if [ -f $ecn -a -n "$MANGLE_ENABLED" ]; then
|
if [ -f $ecn ]; then
|
||||||
save_progress_message "Setting up ECN..."
|
save_progress_message "Setting up ECN..."
|
||||||
setup_ecn $ecn
|
setup_ecn $ecn
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$MANGLE_ENABLED" ]; then
|
|
||||||
save_progress_message "Setting up TC Rules..."
|
save_progress_message "Setting up TC Rules..."
|
||||||
setup_tc
|
setup_tc
|
||||||
fi
|
fi
|
||||||
@ -8536,7 +8536,7 @@ __EOF__
|
|||||||
INDENT=
|
INDENT=
|
||||||
cat $(find_file prog.header) $OUTPUT $(find_file prog.footer) > $outfile
|
cat $(find_file prog.header) $OUTPUT $(find_file prog.footer) > $outfile
|
||||||
chmod 700 $outfile
|
chmod 700 $outfile
|
||||||
progress_message3 "Shorewall configuration compiled to $outfile"
|
progress_message3 "Shorewall configuration compiled to $(resolve_file $outfile)"
|
||||||
rm -f $OUTPUT
|
rm -f $OUTPUT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -1308,7 +1308,7 @@ reload_command()
|
|||||||
[ -n "$LITEDIR" ] || { echo " ERROR: LITEDIR not defined in ${SHAREDIR}/configpath" >&2; exit 2; }
|
[ -n "$LITEDIR" ] || { echo " ERROR: LITEDIR not defined in ${SHAREDIR}/configpath" >&2; exit 2; }
|
||||||
|
|
||||||
if shorewall $debugging $verbose compile -e $1 $1/firewall && \
|
if shorewall $debugging $verbose compile -e $1 $1/firewall && \
|
||||||
echo "Copying ${1}/firewall to ${2}:${LITEDIR}..." && \
|
echo "Copying $(resolve_file ${1}/firewall) to ${2}:${LITEDIR}..." && \
|
||||||
scp $1/firewall root@${2}:${LITEDIR}
|
scp $1/firewall root@${2}:${LITEDIR}
|
||||||
then
|
then
|
||||||
echo "Copy complete"
|
echo "Copy complete"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user