diff options
author | jskyboo <jack@ron.hog.mooo.info> | 2017-02-02 01:03:06 -0800 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-02-03 07:03:42 -0200 |
commit | d1fe01d2df1fc443e4e9a474dfe6d2ec391f54ab (patch) | |
tree | 4655020dd419c536970992a7ff175686f42441fb /src | |
parent | 5476b118a341a902433fba017be4c606c0c852d3 (diff) | |
download | pfsense-d1fe01d2df1fc443e4e9a474dfe6d2ec391f54ab.zip pfsense-d1fe01d2df1fc443e4e9a474dfe6d2ec391f54ab.tar.gz |
Set ntp gps mode for pgrmf even if no other modes are being set.
(cherry picked from commit 821110e8ff76564c23783c554fc89cd9458683ac)
Diffstat (limited to 'src')
-rw-r--r-- | src/etc/inc/system.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/system.inc b/src/etc/inc/system.inc index a71fea3..3238016 100644 --- a/src/etc/inc/system.inc +++ b/src/etc/inc/system.inc @@ -1817,7 +1817,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']; } |