Avoid 'delete_nat doesn't exist' Errors -- Take 3

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3614 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-03-01 18:02:52 +00:00
parent bfaf8541cf
commit 33981af53d

View File

@ -8134,10 +8134,10 @@ stop_firewall() {
if [ -f /var/lib/shorewall/nat ]; then if [ -f /var/lib/shorewall/nat ]; then
while read external interface; do while read external interface; do
qt ip addr del $external dev \$interface qt ip addr del \$external dev \$interface
done < /var/lib/shorewall/nat done < /var/lib/shorewall/nat
rm -f {/var/lib/shorewall}/nat rm -f /var/lib/shorewall/nat
fi fi
} }