summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-03-13 13:31:46 -0400
committerjim-p <jimp@pfsense.org>2012-03-13 13:31:46 -0400
commit89d291ec25c12ed5744c63679270d1a13b5c6b3a (patch)
tree6d1eb2840ee2a3d2b18e7af794f88ae273777bfa /etc
parent71bdd22613962882d9b689c92ebf15abcc5da004 (diff)
downloadpfsense-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.inc2
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.");
OpenPOWER on IntegriCloud