mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Merge pull request #2069 from jean-m-cyr/RELENG_2_2
This commit is contained in:
commit
fa49ec387e
@ -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'])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user