|
|
某次升级后Gentoo的时间就老是不对,一直开机就要调时间。
我的配置:
- wsw@localhost ~ $ ls -l /etc/localtime
- lrwxrwxrwx 1 root root 33 2008-07-01 18:12 /etc/localtime -> /usr/share/zoneinfo/Asia/Shanghai
复制代码
- wsw@localhost ~ $ cat /etc/conf.d/clock
- # /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". If you want to
- # manage /etc/localtime yourself, set this to "".
- TIMEZONE="Asia/Shanghai"
- # 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="yes"
- ### 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"
复制代码
似乎就这两个配置了吧,但是每次系统启动还是时间不对。(上次设置时间是用hwclock --systohc过的。)不知是什么原因? |
|