mirror of
https://github.com/openwrt/packages.git
synced 2025-02-23 22:55:07 +00:00
Extend configuration of NTP sources in UCI: - Add nts option to enable NTS - Add disabled option to allow inactive sources Add nts section to UCI with: - rtccheck option to disable certificate time checks on systems that don't have an RTC to avoid the chicken-and-egg problem (it is less secure, but still should be better than no NTS at all) - systemcerts option to disable system certificates - trustedcerts option to specify path to trusted certificates Save NTS keys and cookies by default to avoid unnecessary NTS-KE sessions when restarted or switching back to an already used NTS source. Also, save the drift to stabilize the clock after chronyd restart. Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
20 lines
321 B
Plaintext
20 lines
321 B
Plaintext
config pool
|
|
option hostname '2.openwrt.pool.ntp.org'
|
|
option maxpoll '12'
|
|
option iburst 'yes'
|
|
|
|
config dhcp_ntp_server
|
|
option iburst 'yes'
|
|
option disabled 'no'
|
|
|
|
config allow
|
|
option interface 'lan'
|
|
|
|
config makestep
|
|
option threshold '1.0'
|
|
option limit '3'
|
|
|
|
config nts
|
|
option rtccheck 'yes'
|
|
option systemcerts 'yes'
|