kernelkit / infix

Linux :yellow_heart: NETCONF = Infix
https://kernelkit.org
GNU General Public License v2.0
52 stars 12 forks source link

Enable RTC sync in Chrony #793

Closed troglobit closed 2 weeks ago

troglobit commented 2 weeks ago

Since the system clock is only saved to the RTC on controlled shutdown/reboot, it would be very useful to have the NTP client update the RTC when enabled.

Chrony has both rtcsync and rtcautotrim <threshold>, both seem like reasonable candidates.

troglobit commented 2 weeks ago

We already have rtcsync enabled by default.

https://github.com/kernelkit/infix/blob/fbddedb51ba2d11aeca123f4023e8002a10ab473/board/common/rootfs/etc/chrony/chrony.conf#L21-L23