summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-11-19 07:26:51 -0200
committerRenato Botelho <renato@netgate.com>2015-11-19 07:26:51 -0200
commitfa49ec387e282db659a64bbba15489f21fcc216c (patch)
tree32fdc37439456031cb429a49b1da9ef39fc8e20c /etc
parent8d8215840824bee7f5b2e1e56d9c902c28a9cb37 (diff)
parentf6fb63722303977ca716cf6baaaed416ce6411ce (diff)
downloadpfsense-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.inc4
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'])
OpenPOWER on IntegriCloud