summaryrefslogtreecommitdiffstats
path: root/etc/rc.newwanip
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-09-07 19:36:53 +0000
committerErmal <eri@pfsense.org>2010-09-07 19:36:53 +0000
commit0ae6daf8342d8a07d33bf6677ce9a228530defac (patch)
tree11e06c8535944fa24ba9ee9f8fba8e6d42380a0b /etc/rc.newwanip
parent298e5e0ab913f32759805b5dc5ba204eb3795609 (diff)
downloadpfsense-0ae6daf8342d8a07d33bf6677ce9a228530defac.zip
pfsense-0ae6daf8342d8a07d33bf6677ce9a228530defac.tar.gz
Use the new events mechanisms to dispatch events.
Diffstat (limited to 'etc/rc.newwanip')
-rwxr-xr-xetc/rc.newwanip2
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();
OpenPOWER on IntegriCloud