summaryrefslogtreecommitdiffstats
path: root/usr/local/sbin/ovpn-linkdown
blob: 4780b4f4470cae2becbb01c2df3b5176f37c9a01 (plain)
1
2
3
4
5
6
7
#!/bin/sh
/sbin/pfctl -i $1 -k 0.0.0.0/0
# delete the node just in case mpd cannot do that
/bin/rm -f /var/etc/nameserver_$1
/bin/rm -f /tmp/$1_router
/bin/rm -f /tmp/$1up
/usr/local/sbin/pfSctl -c 'filter reload'
OpenPOWER on IntegriCloud