mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-19 17:28:35 +02:00
More emacs accomodations; timestamp "Shorewall configuration verified" message with -t
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3905 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
8b09c1b98c
commit
158ad0ea49
@ -8263,7 +8263,7 @@ __EOF__
|
|||||||
|
|
||||||
INDENT=" "
|
INDENT=" "
|
||||||
|
|
||||||
cat >&3 << __EOF__
|
cat >&3 << __EOF__
|
||||||
|
|
||||||
load_kernel_modules
|
load_kernel_modules
|
||||||
|
|
||||||
@ -8351,7 +8351,7 @@ __EOF__
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
for file in chains nat proxyarp zones; do
|
for file in chains nat proxyarp zones; do
|
||||||
save_command "cat > /var/lib/shorewall/$file << __EOF__"
|
save_command "cat > /var/lib/shorewall/$file $LEFTSHIFT __EOF__"
|
||||||
cat $STATEDIR/$file >&3
|
cat $STATEDIR/$file >&3
|
||||||
save_command_unindented __EOF__
|
save_command_unindented __EOF__
|
||||||
done
|
done
|
||||||
@ -8431,7 +8431,7 @@ __EOF__
|
|||||||
exec 3>&-
|
exec 3>&-
|
||||||
|
|
||||||
if [ $COMMAND = check ]; then
|
if [ $COMMAND = check ]; then
|
||||||
echo "Shorewall configuration verified"
|
progress_message3 "Shorewall configuration verified"
|
||||||
else
|
else
|
||||||
INDENT=
|
INDENT=
|
||||||
cat $(find_file prog.header${DISTRIBUTION}) $OUTPUT $(find_file prog.footer${DISTRIBUTION}) > $outfile
|
cat $(find_file prog.header${DISTRIBUTION}) $OUTPUT $(find_file prog.footer${DISTRIBUTION}) > $outfile
|
||||||
|
Loading…
x
Reference in New Issue
Block a user