Bernardo Innocenti wrote: > Jerry Van Baren wrote: > >> FWIIW, the hardware clock configuration is set to use localtime by >> default. This can be reconfigured to use UTC (see /etc/rc.sysinit which >> includes the config file /etc/sysconfig/clock if it exists), but it >> probably isn't worth the effort. > > From hwclock's man page: > > If you specify neither --utc nor --localtime , the default is whichever was > specified the last time > hwclock was used to set the clock (i.e. hwclock was successfully run > with the --set , --systohc , or > --adjust options), as recorded in the adjtime file. If the adjtime file > doesn't exist, the default is > local time. > > So the first time you set the hwclock with --utc, it will > be kept that way.
Hmmm, odd. After setting the hwclock with --utc, my /etc/adjtime has "UTC" but, when I cycled power, my system clock was off by my timezone. Ahh, my /etc/adjtime has "0" instead of "UTC" on the second line. OK, setting my hwclock to utc shows /etc/adjtime has "UTC", but after rebooting it gets reset to "0" (localtime), causing the incorrect time offset. gvb _______________________________________________ Devel mailing list [email protected] http://lists.laptop.org/listinfo/devel
