LINUX.ORG.RU

История изменений

Исправление AITap, (текущая версия) :

$ grep UTC /etc/default/rcS 
# assume that the BIOS clock is set to UTC time (recommended)
#UTC=no # OBSOLETE; see /etc/adjtime and hwclock(8).



$ hwclock --help
...
Options:
-u, --utc the hardware clock is kept in UTC
--localtime the hardware clock is kept in local time
...


$ sudo hwclock --systohc --localtime --test
Clock not changed - testing only.
Not updating adjtime file because of testing mode.
Would have written the following to /etc/adjtime:
0.268860 1342854649 0.000000
1342854649
LOCAL
$ sudo hwclock --systohc -u --test
Clock not changed - testing only.
Not updating adjtime file because of testing mode.
Would have written the following to /etc/adjtime:
-4051.327582 1342854660 0.000000
1342854660
UTC

Исходная версия AITap, :

$ grep UTC /etc/default/rcS 
# assume that the BIOS clock is set to UTC time (recommended)
#UTC=no # OBSOLETE; see /etc/adjtime and hwclock(8).



$ hwclock --help
...
Options:
-u, --utc the hardware clock is kept in UTC
--localtime the hardware clock is kept in local time


$ sudo hwclock --systohc --localtime --test
Clock not changed - testing only.
Not updating adjtime file because of testing mode.
Would have written the following to /etc/adjtime:
0.268860 1342854649 0.000000
1342854649
LOCAL
$ sudo hwclock --systohc -u --test
Clock not changed - testing only.
Not updating adjtime file because of testing mode.
Would have written the following to /etc/adjtime:
-4051.327582 1342854660 0.000000
1342854660
UTC