summaryrefslogtreecommitdiffstats
path: root/src/etc/inc
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-11-19 07:25:22 -0200
committerRenato Botelho <renato@netgate.com>2015-11-19 07:25:22 -0200
commita921af3e0a341b3460576fff721d5b2a983809e5 (patch)
treeea5c051f7f63885d0d4a09b9039d0f8f86f81bd2 /src/etc/inc
parentd21facc4f197ba9af4adf2a242dd8d044a961261 (diff)
parent66937f5ccf2d44a7071190fd067ea6aaf91e964b (diff)
downloadpfsense-a921af3e0a341b3460576fff721d5b2a983809e5.zip
pfsense-a921af3e0a341b3460576fff721d5b2a983809e5.tar.gz
Merge pull request #2070 from jean-m-cyr/master
Diffstat (limited to 'src/etc/inc')
-rw-r--r--src/etc/inc/system.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/etc/inc/system.inc b/src/etc/inc/system.inc
index 05d6a8c..544debf 100644
--- a/src/etc/inc/system.inc
+++ b/src/etc/inc/system.inc
@@ -1753,6 +1753,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