summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-06-20 16:06:26 -0400
committerjim-p <jimp@pfsense.org>2011-06-20 16:06:26 -0400
commit90ecc0b62f8b363d9497b4754133738edb9bc633 (patch)
tree24a64b6de753be98847d3b64f84938e473e9a856
parentc880d03296fd49776acc983664e17bee2792fbc3 (diff)
downloadpfsense-90ecc0b62f8b363d9497b4754133738edb9bc633.zip
pfsense-90ecc0b62f8b363d9497b4754133738edb9bc633.tar.gz
Disable state killing in VPN down scripts.
-rwxr-xr-xusr/local/sbin/ovpn-linkdown2
-rwxr-xr-xusr/local/sbin/ppp-linkdown2
-rwxr-xr-xusr/local/sbin/vpn-linkdown2
3 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/sbin/ovpn-linkdown b/usr/local/sbin/ovpn-linkdown
index 112317f..b300aed 100755
--- a/usr/local/sbin/ovpn-linkdown
+++ b/usr/local/sbin/ovpn-linkdown
@@ -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
diff --git a/usr/local/sbin/ppp-linkdown b/usr/local/sbin/ppp-linkdown
index f6a78b9..1170d2f 100755
--- a/usr/local/sbin/ppp-linkdown
+++ b/usr/local/sbin/ppp-linkdown
@@ -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
diff --git a/usr/local/sbin/vpn-linkdown b/usr/local/sbin/vpn-linkdown
index e67a8a0..1d533cb 100755
--- a/usr/local/sbin/vpn-linkdown
+++ b/usr/local/sbin/vpn-linkdown
@@ -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
OpenPOWER on IntegriCloud