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 /etc/rc.newwanip | |
parent | 298e5e0ab913f32759805b5dc5ba204eb3795609 (diff) | |
download | pfsense-0ae6daf8342d8a07d33bf6677ce9a228530defac.zip pfsense-0ae6daf8342d8a07d33bf6677ce9a228530defac.tar.gz |
Use the new events mechanisms to dispatch events.
Diffstat (limited to 'etc/rc.newwanip')
-rwxr-xr-x | etc/rc.newwanip | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip index a6b1bcb..d06c493 100755 --- a/etc/rc.newwanip +++ b/etc/rc.newwanip @@ -85,7 +85,7 @@ if (is_ipaddr($oldip) && $curwanip == $oldip) services_dnsupdate_process($interface); /* signal dyndns update */ -file_put_contents("{$g['tmp_path']}/update_dyndns", $interface); +send_event("service reload dyndns {$interface}"); /* reconfigure IPsec tunnels */ vpn_ipsec_force_reload(); |