mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Disable state killing in VPN down scripts.
This commit is contained in:
parent
c880d03296
commit
90ecc0b62f
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user