Revision 9eb49a51
Added by Ermal LUÇI over 12 years ago
usr/local/sbin/ovpn-linkdown | ||
---|---|---|
1 | 1 |
#!/bin/sh |
2 |
# /sbin/pfctl -b $4 -b $5
|
|
2 |
/sbin/pfctl -i $1 -k 0.0.0.0/0
|
|
3 | 3 |
# delete the node just in case mpd cannot do that |
4 | 4 |
/bin/rm -f /var/etc/nameserver_$1 |
5 | 5 |
/bin/rm -f /tmp/$1_router |
Also available in: Unified diff
pfctl -b is gone just use std tools of pfctl