Startup time on Raspberry Pi

Gary E. Miller gem at rellim.com
Tue Apr 18 17:21:54 UTC 2017


Yo Hal!

On Tue, 18 Apr 2017 10:14:33 -0700
Hal Murray <hmurray at megapathdsl.net> wrote:

> >> I just rebooted a Raspberry Pi.  Somebody is setting the
> >> system time.  I don't know who/where.  

On Gentoo it is a program called swclock.  Just look at what your
systemd runs early at boot time.

swclock runs on shutdown and touches the current time on the file:
 /run/openrc/shutdowntime

On boot it reads the timestamp on that file and set the system clock
to that time.

systemd probably does it in some similar, using some strange
convoluted logic...

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20170418/36f64c56/attachment.bin>


More information about the devel mailing list