View previous topic :: View next topic |
Author |
Message |
GHopper n00b
Joined: 28 Feb 2008 Posts: 17
|
Posted: Wed Aug 13, 2008 2:33 pm Post subject: время сбрасывается после перезагрузки |
|
|
Здравствуйте!
Gentoo 2007.0
После перезагрузки время выставляется неправильное. Обновил какие-то файлы в /etc и проблема появилась.
Code: | # /etc/conf.d/clock
# Set CLOCK to "UTC" if your system clock is set to UTC (also known as
# Greenwich Mean Time). If your 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="local"
# Select the proper timezone. For valid values, peek inside of the
# /usr/share/zoneinfo/ directory. For example, some common values are
# "America/New_York" or "EST5EDT" or "Europe/Berlin".
#TIMEZONE="Factory"
TIMEZONE="Asia/Krasnoyrsk"
# If you wish to pass any other arguments to hwclock during bootup,
# you may do so here.
CLOCK_OPTS=""
# If you want to set the Hardware Clock to the current System Time
# during shutdown, then say "yes" here.
CLOCK_SYSTOHC="no"
### ALPHA SPECIFIC OPTIONS ###
# If your alpha uses the SRM console, set this to "yes".
SRM="no"
# If your alpha uses the ARC console, set this to "yes".
ARC="no"
|
# cp /usr/share/zoneinfo/Asia/Krasnoyarsk /etc/locatime
# main # date
Срд Авг 13 06:33:54 KRAST 2008 |
|
Back to top |
|
|
ba l33t
Joined: 25 May 2003 Posts: 804
|
Posted: Wed Aug 13, 2008 3:06 pm Post subject: |
|
|
Code: | /etc/init.d/clock save
rm -f /etc/adjtime
/etc/init.d/clock save |
|
|
Back to top |
|
|
GHopper n00b
Joined: 28 Feb 2008 Posts: 17
|
Posted: Wed Aug 13, 2008 3:19 pm Post subject: |
|
|
ba wrote: | Code: | /etc/init.d/clock save
rm -f /etc/adjtime
/etc/init.d/clock save |
|
main # ls /etc/init.d/c*
/etc/init.d/consolefont /etc/init.d/crypto-loop /etc/init.d/cupsd
main #
нет такого файла... |
|
Back to top |
|
|
ba l33t
Joined: 25 May 2003 Posts: 804
|
Posted: Wed Aug 13, 2008 3:25 pm Post subject: |
|
|
упс.. тогда так
Code: | /etc/init.d/hwclock save
rm -f /etc/adjtime
/etc/init.d/hwclock save |
|
|
Back to top |
|
|
|