summaryrefslogtreecommitdiffstats
path: root/etc/rc.bootup
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-12-14 13:40:32 -0500
committerjim-p <jimp@pfsense.org>2012-12-14 13:41:03 -0500
commit26ee0570379bd5fb936328786a4f5f6b9ba9f39f (patch)
tree5ce2f97a17d02e53b8e5743c68188dec62e79ad1 /etc/rc.bootup
parent0d20a0409939738984e42256c7983bcc8f46d445 (diff)
downloadpfsense-26ee0570379bd5fb936328786a4f5f6b9ba9f39f.zip
pfsense-26ee0570379bd5fb936328786a4f5f6b9ba9f39f.tar.gz
Start dnsmasq before ntp because ntp can fail if it doesn't have proper/working DNS.
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 b8bf0e3..8af6ceb 100755
--- a/etc/rc.bootup
+++ b/etc/rc.bootup
@@ -313,6 +313,9 @@ system_routing_configure();
/* enable routing */
system_routing_enable();
+/* start dnsmasq service */
+services_dnsmasq_configure();
+
/* Do an initial time sync */
echo "Starting NTP time client...";
/* At bootup this will just write the config, ntpd will launch from ntpdate_sync_once.sh */
@@ -329,9 +332,6 @@ system_console_configure();
/* start DHCP service */
services_dhcpd_configure();
-/* start dnsmasq service */
-services_dnsmasq_configure();
-
/* start dhcpleases dhpcp hosts leases program */
system_dhcpleases_configure();
OpenPOWER on IntegriCloud