Move dnsmasq start to before ntp, or else the entry for the DNS forwarder in /etc/resolv.conf will always time out.

This commit is contained in:
jim-p 2013-04-25 15:30:46 -04:00
parent e4d3e327ab
commit 6e905c8a6f

View File

@ -278,6 +278,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 */
@ -293,9 +296,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();