Files
packages/net/chrony/files/chrony.config
Paul Donald 1f9afbf80d chrony: add configuration parameters
The existing config sections were anonymous, implying multiple can
coexist. Those are now named so that only one shall exist.

Added:
- smoothtime (in case of large frequency offsets)
- systemclock parameters
- logchange (increase awareness of clock drift in syslog)
- maxsources (for peers; internal default: 4)
- prefer (one server over others)
- interleave (xleave - more accurate transmit timestamps - good to have)

Refactored handle_allow() to handle 'list interface' instead of option.
Then only a single section is required.

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2025-05-01 11:00:14 +03:00

35 lines
669 B
Plaintext

config pool
option hostname '2.openwrt.pool.ntp.org'
option maxpoll '12'
option maxsources '4'
option iburst '1'
option prefer '0'
# option xleave '0'
config dhcp_ntp_server 'dhcp_ntp_server'
option iburst '1'
option disabled '0'
config allow 'allow'
option interface 'lan'
config makestep 'makestep'
option threshold '1.0'
option limit '3'
config nts 'nts'
option rtccheck '1'
option systemcerts '1'
#config smoothtime 'smoothtime'
# option maxppm '400'
# option maxwander '0.01'
# option leaponly '0'
#config systemclock 'systemclock'
# option precision '8e-6'
# option leapsecmode 'slew'
#config logging 'logging'
# option logchange '0.01'