mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-27 01:53:27 +01:00
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:
parent
bfaf8541cf
commit
33981af53d
@ -8134,10 +8134,10 @@ stop_firewall() {
|
||||
|
||||
if [ -f /var/lib/shorewall/nat ]; then
|
||||
while read external interface; do
|
||||
qt ip addr del $external dev \$interface
|
||||
qt ip addr del \$external dev \$interface
|
||||
done < /var/lib/shorewall/nat
|
||||
|
||||
rm -f {/var/lib/shorewall}/nat
|
||||
rm -f /var/lib/shorewall/nat
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user