Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
время сбрасывается после перезагрузки
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
GHopper
n00b
n00b


Joined: 28 Feb 2008
Posts: 17

PostPosted: Wed Aug 13, 2008 2:33 pm    Post subject: время сбрасывается после перезагрузки Reply with quote

Здравствуйте!
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
View user's profile Send private message
ba
l33t
l33t


Joined: 25 May 2003
Posts: 804

PostPosted: Wed Aug 13, 2008 3:06 pm    Post subject: Reply with quote

Code:
/etc/init.d/clock save
rm -f /etc/adjtime
/etc/init.d/clock save
Back to top
View user's profile Send private message
GHopper
n00b
n00b


Joined: 28 Feb 2008
Posts: 17

PostPosted: Wed Aug 13, 2008 3:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
ba
l33t
l33t


Joined: 25 May 2003
Posts: 804

PostPosted: Wed Aug 13, 2008 3:25 pm    Post subject: Reply with quote

упс.. тогда так
Code:
/etc/init.d/hwclock save
rm -f /etc/adjtime
/etc/init.d/hwclock save
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum