summaryrefslogtreecommitdiffstats
path: root/etc/rc.bootup
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-04-13 20:31:03 +0000
committerErmal <eri@pfsense.org>2010-04-13 20:31:03 +0000
commit85b2f4249870024af2a4e5e972238f72332e48b6 (patch)
tree9260a53bf061c01b624aaf91e63b13bb78cc9c26 /etc/rc.bootup
parent24ed5c3ba4f7d43f311ce5d4cb87829eac1fbf97 (diff)
downloadpfsense-85b2f4249870024af2a4e5e972238f72332e48b6.zip
pfsense-85b2f4249870024af2a4e5e972238f72332e48b6.tar.gz
Improve startup time by delaying dyndns synching.
Diffstat (limited to 'etc/rc.bootup')
-rwxr-xr-xetc/rc.bootup6
1 files changed, 3 insertions, 3 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();
OpenPOWER on IntegriCloud