summaryrefslogtreecommitdiffstats
path: root/usr/local/sbin/ovpn-linkup
blob: 2ade0323c737166565c1f7b6cd27d1c1fa411ab6 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# write nameservers to file needs dns fidnings?!

# let the configuration system know that the ip has changed.
#/bin/echo $1 > /tmp/rc.newwanip
/bin/echo $4 > /tmp/$1_router
/usr/bin/touch /tmp/$1up
# reload filter 
/usr/bin/touch /tmp/filter_dirty
exit 0
OpenPOWER on IntegriCloud