|
|
开机显示
ERROR: cannot start hwclock as fsck would not start
但是时间显示正常:
- localhost ~ # hwclock
- Thu 10 Jul 2008 01:07:24 AM CST -0.173325 seconds
- localhost ~ # date
- Thu Jul 10 01:07:24 CST 2008
- localhost ~ # rc-update -v show | grep fsck
- fsck | boot
- localhost ~ # rc-update -v show | grep hwclock
- hwclock | boot
- localhost ~ # cat /etc/conf.d/hwclock
- # 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"
- #这里我也试过小写的clock="local"
- # If you want to set the Hardware Clock to the current System Time
- # 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 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=""
- #同样试过clock_args="--directisa"
- localhost ~ # cat /etc/timezone
- PRC
- #这里我还试过TIMEZONE="PRC"
复制代码
/etc/localtime是复制的/usr/share/zoneinfo/PRC,内核已经加入Real Time Clock Support 并且/dev/rtc 存在。
忘了说了,用的是openrc |
|