Project

General

Profile

« Previous | Next » 

Revision 0ae6daf8

Added by Ermal LUÇI almost 15 years ago

Use the new events mechanisms to dispatch events.

View differences:

usr/local/sbin/ovpn-linkup
3 3
# write nameservers to file needs dns fidnings?!
4 4

  
5 5
# let the configuration system know that the ip has changed.
6
#/bin/echo $1 > /tmp/rc.newwanip
6
#/usr/local/sbin/pfSctl -c "'interface reload $interface'"
7 7
/bin/echo $4 > /tmp/$1_router
8 8
/usr/bin/touch /tmp/$1up
9 9
# reload filter 
10
/usr/bin/touch /tmp/filter_dirty
10
/usr/local/sbin/pfSctl -c 'filter reload'
11 11
exit 0

Also available in: Unified diff