summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjskyboo <jack@ron.hog.mooo.info>2017-02-02 01:03:06 -0800
committerjskyboo <jack@ron.hog.mooo.info>2017-02-02 01:03:06 -0800
commit821110e8ff76564c23783c554fc89cd9458683ac (patch)
tree1bb73cd3e77fcdeda6d9e3f4e9f2e795fcfce702 /src
parent6924a2bf34a70cd33284a28ca3575f33f9834375 (diff)
downloadpfsense-821110e8ff76564c23783c554fc89cd9458683ac.zip
pfsense-821110e8ff76564c23783c554fc89cd9458683ac.tar.gz
Set ntp gps mode for pgrmf even if no other modes are being set.
Diffstat (limited to 'src')
-rw-r--r--src/etc/inc/system.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/system.inc b/src/etc/inc/system.inc
index 1c3e102..028583b 100644
--- a/src/etc/inc/system.inc
+++ b/src/etc/inc/system.inc
@@ -1765,7 +1765,7 @@ function system_ntp_configure() {
$ntpcfg .= "\n";
$ntpcfg .= "# GPS Setup\n";
$ntpcfg .= 'server 127.127.20.0 mode ';
- if (!empty($config['ntpd']['gps']['nmea']) || !empty($config['ntpd']['gps']['speed']) || !empty($config['ntpd']['gps']['subsec'])) {
+ if (!empty($config['ntpd']['gps']['nmea']) || !empty($config['ntpd']['gps']['speed']) || !empty($config['ntpd']['gps']['subsec']) || !empty($config['ntpd']['gps']['processpgrmf'])) {
if (!empty($config['ntpd']['gps']['nmea'])) {
$ntpmode = (int) $config['ntpd']['gps']['nmea'];
}
OpenPOWER on IntegriCloud