Hello, this is useful for offline systems that have a good RTC.
It's in the responsibility of the user to ensure that chrony doesn't write back the time into the used RTC which would destroy precision. Looking forward to feedback. Best regards Uwe Uwe Kleine-König (2): New refclock for RTCs refclock: Fix poll counting for refclocks that do polling and event driven timekeeping configure | 2 +- refclock.c | 21 +++++-- refclock_rtc.c | 151 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 168 insertions(+), 6 deletions(-) create mode 100644 refclock_rtc.c -- 2.30.2 -- To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe" in the subject. For help email chrony-dev-requ...@chrony.tuxfamily.org with "help" in the subject. Trouble? Email listmas...@chrony.tuxfamily.org.