From 0ae6daf8342d8a07d33bf6677ce9a228530defac Mon Sep 17 00:00:00 2001 From: Ermal Date: Tue, 7 Sep 2010 19:36:53 +0000 Subject: Use the new events mechanisms to dispatch events. --- etc/rc.newwanip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/rc.newwanip') 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(); -- cgit v1.1