summaryrefslogtreecommitdiffstats
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:32:38 -0400
commit9281c9c66c4a5d64e6fda459ce89f18bc8fc27db (patch)
treee1ca389fa7dc630933a4cb8f53f8fda8fbb7f8f2
parenta246371669978dcd72482adf4d86c720246a2c49 (diff)
downloadpfsense-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.inc2
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.");
OpenPOWER on IntegriCloud