mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
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:
parent
a246371669
commit
9281c9c66c
@ -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.");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user