root/usr/local/sbin/ovpn-linkup @ b5efd82a
1 |
#!/bin/sh
|
---|---|
2 |
|
3 |
# write nameservers to file needs dns fidnings?!
|
4 |
|
5 |
# let the configuration system know that the ip has changed.
|
6 |
#/usr/local/sbin/pfSctl -c "interface newip $interface"
|
7 |
/bin/echo $4 > /tmp/$1_router |
8 |
/usr/bin/touch /tmp/$1up
|
9 |
# reload filter
|
10 |
/usr/local/sbin/pfSctl -c "interface newip $1" |
11 |
exit 0
|