Re: [chrony-users] Discover when a time sync has been performed |
[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]
On 04/07/2013 19:18, Ignacio Verona
Ríos wrote:
Just to repeat a little trick that you can find in gentoo openrc. Here there is a bootscript swclock which tests the mtime of some file and sets the clock to that time. With a little thought you can arrange for that time to be as close as you like to the "shutdown time". Now that of course doesn't get you current time, but it does give you something close to monotonic time (ie doesn't step backwards (much)). ie it gives you a better starting point Good luck Ed W P.S. Can I recommend the PC Engines Alix boards to those who don't know about them. Multiple network ports, fanless 500Mhz intel x586 processor, USB (some on-board), IDE, RTC - all for ~ $100 ish (ok, more than a Pi) |
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |