Revision 0f2826c0
Added by Ermal LUÇI about 14 years ago
usr/local/sbin/ppp-linkdown | ||
---|---|---|
6 | 6 |
if [ -f "/tmp/${interface}_defaultgw" ]; then |
7 | 7 |
route delete default $4 |
8 | 8 |
fi |
9 |
# /sbin/pfctl -b $3 -b $4 |
|
9 |
/sbin/pfctl -k 0.0.0.0/0 -k $3 |
|
10 |
/sbin/pfctl -k $3 |
|
11 |
pfctl -K $3 |
|
12 |
/sbin/pfctl -b 0.0.0.0/32 -b $4 |
|
10 | 13 |
# delete the node just in case mpd cannot do that |
11 | 14 |
/usr/sbin/ngctl shutdown $1: |
12 | 15 |
if [ -f "/var/etc/nameserver_$1" ]; then |
Also available in: Unified diff
Kill states from the previous ip the link had on all mpd consumers. Resolves #1629