summaryrefslogtreecommitdiffstats
path: root/usr/local/sbin/ovpn-linkdown
blob: 112317fdf19e6913cdff624b3207ae606a4699d3 (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/local/sbin/pfSctl -c 'filter reload'
OpenPOWER on IntegriCloud