summaryrefslogtreecommitdiffstats
path: root/usr/local/sbin/ovpn-linkdown
blob: 451f60616d384bd5b6425ced9bcadf8e73f4493d (plain)
1
2
3
4
5
6
7
#!/bin/sh
/sbin/pfctl -b $3
# 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/bin/touch /tmp/filter_dirty
OpenPOWER on IntegriCloud