diff options
author | Renato Botelho <renato@netgate.com> | 2015-11-19 07:26:51 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-11-19 07:26:51 -0200 |
commit | fa49ec387e282db659a64bbba15489f21fcc216c (patch) | |
tree | 32fdc37439456031cb429a49b1da9ef39fc8e20c /etc | |
parent | 8d8215840824bee7f5b2e1e56d9c902c28a9cb37 (diff) | |
parent | f6fb63722303977ca716cf6baaaed416ce6411ce (diff) | |
download | pfsense-fa49ec387e282db659a64bbba15489f21fcc216c.zip pfsense-fa49ec387e282db659a64bbba15489f21fcc216c.tar.gz |
Merge pull request #2069 from jean-m-cyr/RELENG_2_2
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/system.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index d0f21aa..9d3c30c 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -1628,6 +1628,10 @@ function system_ntp_configure($start_ntpd=true) { $ntpcfg .= ' refid '; $ntpcfg .= $config['ntpd']['gps']['refid']; } + if (!empty($config['ntpd']['gps']['stratum'])) { + $ntpcfg .= ' stratum '; + $ntpcfg .= $config['ntpd']['gps']['stratum']; + } $ntpcfg .= "\n"; }elseif (is_array($config['ntpd']) && !empty($config['ntpd']['gpsport']) && file_exists('/dev/'.$config['ntpd']['gpsport']) |