On Fri, 2007-03-16 at 13:14 +0100, Roger Oberholtzer wrote:
On Fri, 2007-03-16 at 11:42 +0100, Carlos E. R. wrote:
I'm not a script wizard, maybe someone will chime it...
Couldn't you parse a NEMA sentence to get "mmddhhmmyyyy.ss" to use for
the argument to date? Use that in a script
parse nema
rm /etc/adjtime
date
hwclock --systohc
hwclock --hctosys
rm /etc/adjtime
Then, on the next shutdown, a true /etc/adjtime will be written to the
disk...so the next boot SHOULD be reasonably accurate. If they all have
GPS available on the road, I'd run the script daily anyway. The script
would have to run as root, of course.
Tom in NM
--
To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse+help@opensuse.org