Start ntpd in the background since we don't need to care about its return data. Speeds up GUI with broken DNS.

This commit is contained in:
jim-p 2012-03-13 13:31:46 -04:00
parent a246371669
commit 9281c9c66c

View File

@ -1161,7 +1161,7 @@ function system_ntp_configure() {
exec("/bin/mkdir -p /var/empty && chmod ug+rw /var/empty/.");
/* start opentpd, set time now and use /var/etc/ntpd.conf */
exec("/usr/local/sbin/ntpd -s -f {$g['varetc_path']}/ntpd.conf");
mwexec_bg("/usr/local/sbin/ntpd -s -f {$g['varetc_path']}/ntpd.conf");
// Note that we are starting up
log_error("OpenNTPD is starting up.");