Disable state killing in VPN down scripts.

This commit is contained in:
jim-p 2011-06-20 16:06:26 -04:00
parent c880d03296
commit 90ecc0b62f
3 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh
/sbin/pfctl -b $4 -b $5
# /sbin/pfctl -b $4 -b $5
# delete the node just in case mpd cannot do that
/bin/rm -f /var/etc/nameserver_$1
/bin/rm -f /tmp/$1_router

View File

@ -6,7 +6,7 @@ fi
if [ -f "/tmp/${interface}_defaultgw" ]; then
route delete default $4
fi
/sbin/pfctl -b $3 -b $4
# /sbin/pfctl -b $3 -b $4
# delete the node just in case mpd cannot do that
/usr/sbin/ngctl shutdown $1:
if [ -f "/var/etc/nameserver_$1" ]; then

View File

@ -2,4 +2,4 @@
# record logout
/usr/bin/logger -p local3.info "logout,$1,$4,$5"
/sbin/pfctl -b $3 -b $4
# /sbin/pfctl -b $3 -b $4