1
I'm running ntpd on an ARM board that doesn't have a hardware clock (so no way to maintain time when it's off).
The problem is that after rebooting, the time is always set at the unix epoch until ntpd is able to sync again.
What I would like is for ntpd to regularly save the current time in a file, and reapply it on the next system boot. It won't be accurate, but at least it doesn't bring me back to the unix epoch on every reboot.
It doesn't necessarily have to be ntpd, maybe another software (or even kernel side?) can do this ?
Worst case scenario I can always have an init.d script do this, but I'm thinking that this is already implemented somewhere in a proper way.
What OS are you running? – user1686 – 2017-11-29T15:35:02.807
poky - a linux-based distribution compiled from scratch by yocto. – Ely – 2017-11-29T15:58:13.833