diff options
author | Ermal <eri@pfsense.org> | 2010-09-07 19:36:53 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-09-07 19:36:53 +0000 |
commit | 0ae6daf8342d8a07d33bf6677ce9a228530defac (patch) | |
tree | 11e06c8535944fa24ba9ee9f8fba8e6d42380a0b /usr/local/sbin/ovpn-linkup | |
parent | 298e5e0ab913f32759805b5dc5ba204eb3795609 (diff) | |
download | pfsense-0ae6daf8342d8a07d33bf6677ce9a228530defac.zip pfsense-0ae6daf8342d8a07d33bf6677ce9a228530defac.tar.gz |
Use the new events mechanisms to dispatch events.
Diffstat (limited to 'usr/local/sbin/ovpn-linkup')
-rwxr-xr-x | usr/local/sbin/ovpn-linkup | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/sbin/ovpn-linkup b/usr/local/sbin/ovpn-linkup index 2ade032..354623e 100755 --- a/usr/local/sbin/ovpn-linkup +++ b/usr/local/sbin/ovpn-linkup @@ -3,9 +3,9 @@ # write nameservers to file needs dns fidnings?! # let the configuration system know that the ip has changed. -#/bin/echo $1 > /tmp/rc.newwanip +#/usr/local/sbin/pfSctl -c "'interface reload $interface'" /bin/echo $4 > /tmp/$1_router /usr/bin/touch /tmp/$1up # reload filter -/usr/bin/touch /tmp/filter_dirty +/usr/local/sbin/pfSctl -c 'filter reload' exit 0 |