summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-09-23 19:21:00 -0400
committerjim-p <jimp@pfsense.org>2012-10-02 09:25:38 -0400
commitfdcc1b82fcd4dbcec20493639831f18c6b96030e (patch)
treef3d5bf7c27c7d168a1219994c3fd08828ca5b96b
parent6fda15a9673d02fa79d912e94d7516c4eadf9f7e (diff)
downloadpfsense-fdcc1b82fcd4dbcec20493639831f18c6b96030e.zip
pfsense-fdcc1b82fcd4dbcec20493639831f18c6b96030e.tar.gz
Don't die silently if the time is too far off. Fix from: dhatz
-rw-r--r--etc/inc/system.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index 7148c1c..f47596a 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -1113,6 +1113,7 @@ function system_ntp_configure($start_ntpd=true) {
$ntpcfg = "# \n";
$ntpcfg .= "# pfSense ntp configuration file \n";
$ntpcfg .= "# \n\n";
+ $ntpcfg .= "tinker panic 0 \n";
/* foreach through servers and write out to ntpd.conf */
foreach (explode(' ', $config['system']['timeservers']) as $ts)
OpenPOWER on IntegriCloud