diff options
author | jim-p <jimp@pfsense.org> | 2012-03-13 13:31:46 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-03-13 13:32:38 -0400 |
commit | 9281c9c66c4a5d64e6fda459ce89f18bc8fc27db (patch) | |
tree | e1ca389fa7dc630933a4cb8f53f8fda8fbb7f8f2 | |
parent | a246371669978dcd72482adf4d86c720246a2c49 (diff) | |
download | pfsense-9281c9c66c4a5d64e6fda459ce89f18bc8fc27db.zip pfsense-9281c9c66c4a5d64e6fda459ce89f18bc8fc27db.tar.gz |
Start ntpd in the background since we don't need to care about its return data. Speeds up GUI with broken DNS.
-rw-r--r-- | etc/inc/system.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 2be5f48..81f1fb7 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -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."); |