summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-09-23 19:21:00 -0400
committerjim-p <jimp@pfsense.org>2012-09-23 19:21:00 -0400
commit362c9bb03f1d321e00d78d7b89b9c7ccc628b4cd (patch)
treea0767dab8046a2d32b6ba70be1b5bbdebbe25d45 /etc
parentf665130dbdb5aa5df4ca4d68f12cb7b1dd41a011 (diff)
downloadpfsense-362c9bb03f1d321e00d78d7b89b9c7ccc628b4cd.zip
pfsense-362c9bb03f1d321e00d78d7b89b9c7ccc628b4cd.tar.gz
Don't die silently if the time is too far off. Fix from: dhatz
Diffstat (limited to 'etc')
-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 0f3d263..6bf32f3 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -1287,6 +1287,7 @@ function system_ntp_configure($start_ntpd=true) {
$ntpcfg = "# \n";
$ntpcfg .= "# pfSense ntp configuration file \n";
$ntpcfg .= "# \n\n";
+ $ntpcfg .= "tinker panic 0 \n";
if (!empty($config['ntpd']['gpsport'])
&& file_exists('/dev/'.$config['ntpd']['gpsport'])
OpenPOWER on IntegriCloud