diff options
-rwxr-xr-x | etc/rc.bootup | 6 | ||||
-rwxr-xr-x | etc/rc.newwanip | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup index 8a93685..b96dfa4 100755 --- a/etc/rc.bootup +++ b/etc/rc.bootup @@ -270,9 +270,6 @@ echo "done.\n"; /* Launch on bootup and keep trying to sync. Exit once time/date has been sync'd. */ mwexec_bg("/usr/local/sbin/ntpdate_sync_once.sh"); -/* start dyndns service */ -services_dyndns_configure(); - /* static IP address? -> attempt DNS update */ if (is_ipaddr($config['interfaces']['wan']['ipaddr'])) services_dnsupdate_process(); @@ -280,6 +277,9 @@ if (is_ipaddr($config['interfaces']['wan']['ipaddr'])) /* start dnsmasq service */ services_dnsmasq_configure(); +/* start dyndns service */ +@touch("{$g['tmp_path']}/update_dyndns"); + /* start DHCP relay */ services_dhcrelay_configure(); diff --git a/etc/rc.newwanip b/etc/rc.newwanip index 49d4a76..86e3f31 100755 --- a/etc/rc.newwanip +++ b/etc/rc.newwanip @@ -77,7 +77,7 @@ services_dnsupdate_process($interface); file_put_contents("{$g['vardb_path']}/{$interface}_ip", $curwanip); /* signal dyndns update */ -file_put_contents("/tmp/update_dyndns", $interface); +file_put_contents("{$g['tmp_path']}/update_dyndns", $interface); /* reconfigure IPsec tunnels */ vpn_ipsec_force_reload(); |