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:31:46 -0400 |
commit | 89d291ec25c12ed5744c63679270d1a13b5c6b3a (patch) | |
tree | 6d1eb2840ee2a3d2b18e7af794f88ae273777bfa /etc | |
parent | 71bdd22613962882d9b689c92ebf15abcc5da004 (diff) | |
download | pfsense-89d291ec25c12ed5744c63679270d1a13b5c6b3a.zip pfsense-89d291ec25c12ed5744c63679270d1a13b5c6b3a.tar.gz |
Start ntpd in the background since we don't need to care about its return data. Speeds up GUI with broken DNS.
Diffstat (limited to 'etc')
-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 f01d674..2a616dd 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -1267,7 +1267,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."); |