Tauno,
> You do need a piece of C code, run as root or suid root, reading the
> external hardware clock and setting the internal one with a simple
> system call.
1) Thats an answer to a question I never asked. :-(
2) I already did something like that - a year or so ago.
3) Just this week I wrote pretty much that, using python.
4)
> Your problem is that the setting of system time needs root privileges.
Nope, not one of my problems. Not now, not in 2) and not in 3) either.
Now, do you have /any/ idea how to detect that the clock has been written to
after the last time the Pi has been switched on ? As *thats* the problem
I'm currently trying to solve - as shown in the title of this message.
Regards,
Rudy Wieser
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|