by terinjokes · 2y ago · 0 comments
To that last point: reading this file is one of the very first things systemd does after being started right in main, so time is set before any services are brought up. Whereas time for the OP isn't set until the `500datetime` service is loaded.
[0]: https://terinstock.com/post/2021/12/Systemds-clock-epoch-for...
To be clear, my init script is named S00datetime, not 500datetime. It's actually the very first one that runs from rcS. So the date is restored very, very early in the boot process before pretty much everything else.