hwclock
Мне нужно, чтобы время в биосе соответсвовало времени на системе gentoo, часовой пояс азия / Екатеринбург
Как конфиг настроить, как синхронизировать время с биосом и еще кто, что скажет....
Заранее спасибо!
alexey@gentoo_work ~ $ cat /etc/conf.d/hwclock
# Set CLOCK to "UTC" if your Hardware Clock is set to UTC (also known as
# Greenwich Mean Time). If that clock is set to the local time, then
# set CLOCK to "local". Note that if you dual boot with Windows, then
# you should set it to "local".
clock="UTC"
# If you want to set the Hardware Clock to the current System Time
# (software clock) during shutdown, then say "YES" here.
# You normally don't need to do this if you run a ntp daemon.
clock_systohc="NO"
# If you want to set the system time to the current hardware clock
# during bootup, then say "YES" here. You do not need this if you are
# running a modern kernel with CONFIG_RTC_HCTOSYS set to y.
# Also, be aware that if you set this to "NO", the system time will
# never be saved to the hardware clock unless you set
# clock_systohc="YES" above.
clock_hctosys="YES"
# If you wish to pass any other arguments to hwclock during bootup,
# you may do so here. Alpha users may wish to use --arc or --srm here.
clock_args=""
alexey@gentoo_work ~ $
- Для комментирования войдите или зарегистрируйтесь

Всё же написано, что не ясно
Всё же написано, что не ясно ?
Затем перезапуск /etc/init.d/hwclock.
И установка времени
или
.
Простите, а для чего так? Спрашиваю из чисто академического интереса
Мы тоже не всего читали Шнитке!.. © В. Вишневский
Windows XP стоит на
Windows XP стоит на компьютере, там время при запуске уменя такое, как в BIOS
clock="local" /etc/init.d/hwc
clock="local"
/etc/init.d/hwclock
Время на место встало
Есть еще команда, которая
Есть еще команда, которая время синхронизирует время с биосом, напомните пожалуйста, не могу вспомнить...
В первом посте я вам ответил.
В первом посте я вам ответил.
Читаем man hwclock, неужели так сложно ?
-s, --hctosys Set the System Time from the Hardware Clock. Also set the kernel's timezone value to the local timezone as indicated by the TZ environment variable and/or /usr/share/zone‐ info, as tzset(3) would interpret them. The obsolete tz_dsttime field of the kernel's timezone value is set to DST_NONE. (For details on what this field used to mean, see settimeofday(2).) This is a good option to use in one of the system startup scripts. -w, --systohc Set the Hardware Clock to the current System Time..
Ясненько... Но тогда позвольте ещё один вопрос - почему бы не поступить наоборот (что есть корректнее) - вашу хрю настроить на UTC-время в BIOS? Тем более, что и делается-то это одной-единственной записью в реестр?..
Мы тоже не всего читали Шнитке!.. © В. Вишневский