diff options
author | jim-p <jimp@pfsense.org> | 2011-04-12 13:52:34 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-04-12 13:52:34 -0400 |
commit | cd11a1426d3c140918a74cb7e3efc500644e220c (patch) | |
tree | f2771640291104cc6228a6818061ff49364cfc6c /etc/inc | |
parent | d67b6b175cc593c20fe2e151b2ca88fd32eee478 (diff) | |
download | pfsense-cd11a1426d3c140918a74cb7e3efc500644e220c.zip pfsense-cd11a1426d3c140918a74cb7e3efc500644e220c.tar.gz |
Drop the ntpdate sync in favor of using ntpd -s, which should have the same net effect without needing the shell script that has been prone to hanging.
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/system.inc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index c71fb38..2e64099 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -1192,9 +1192,6 @@ function system_ntp_configure() { if(!is_dir("/var/empty")) exec("/bin/mkdir -p /var/empty && chmod ug+rw /var/empty/."); - if ($g['booting']) - return; - /* start opentpd, set time now and use /var/etc/ntpd.conf */ exec("/usr/local/sbin/ntpd -s -f {$g['varetc_path']}/ntpd.conf"); |