> From: Mantas Mikulenas [mailto:[email protected]] 
> 
> Call adjtimex(2) and check whether buf.status has STA_UNSYNC 
> (should be unset when clock is synchronized).
> 
> The systemd-timedated helper service 
> (org.freedesktop.timedate1) exposes the same flag as the 
> org.freedesktop.timedate1.NTPSynchronized property on 
> /org/freedesktop/timedate1.

That looks pretty simple. I'll try it out. This is my own Yocto-based embedded 
system with a recent kernel, so there are no issues of compatibility, as others 
warned about.

-- 

Ciao,               Paul D. DeRocco
Paul                mailto:[email protected]

_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to