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