LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 974|回复: 6

[已解决]求助,急!!:(关于clock)

[复制链接]
发表于 2007-10-6 10:55:20 | 显示全部楼层 |阅读模式
不知道什么原因,我的/etc/conf.d/clock这个配置文件变成乱码了,启动的时候总是警告:    /etc/conf.d/clock is still set Factory
谁能把自己的/etc/conf.d/clock文件贴上来让我看看???
谢谢!!


这是我的文件:
TZif2                            E      
�iZ��j�8ԓJ��B�8֚���>A��.$���9����������ܸ����ʨޢ8߭�����8���(�Oi8�v�(�/K8�_Ǩ�-8�?����I������+���m���
���O�������l(�wѸ��N(�W����0(�@�8�h(� �8�G�(�%~8�a(�`8��C(��B8��_���^���A���@���#� �"�~�n�]��M��G(78&�(�8        �(        ��8
��(֩8 ƌ(
��8�n(�98ol�{8ON�  k    ~�  p�         LMT HKST HKT       TZif2                            E      
�����iZ������j�8����ԓJ������B�8����֚�������>A������.$�������9��������������������������ܸ��������ʨ����ޢ8����߭���������8�������(�����Oi8�����v�(�����/K8�����_Ǩ�����-8�����?��������I��������������+�������m�������
�������O���������������l(�����wѸ������N(�����W��������0(�����@�8�����h(����� �8�����G�(�����%~8�����a(�����`8������C(������B8������_�������^�������A�������@�������#�     �"�    ~�    n�    ]��    M��    G(    78    &�(    �8            �(            ��8   
��(    ֩8    ƌ(   
��8    �n(    �98    ol�    {8    ON�  k    ~�  p�         LMT HKST HKT      
HKT-8
发表于 2007-10-6 11:09:05 | 显示全部楼层
$ 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".

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="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"
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-10-6 11:54:47 | 显示全部楼层
谢谢夕角!!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-10-6 13:10:16 | 显示全部楼层
已经解决,谢谢!!!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-10-7 11:10:10 | 显示全部楼层

已经解决!!! 求助,急!!:(关于clock)

已经解决!!!
回复 支持 反对

使用道具 举报

发表于 2007-10-13 20:47:00 | 显示全部楼层
我把TIMEZONE修改后,启动时没有下面的错误了
/etc/conf.d/clock is still set Factory

但是很仍然说 failed to set clock!
回复 支持 反对

使用道具 举报

发表于 2007-10-14 08:49:29 | 显示全部楼层
Post by linxh
我把TIMEZONE修改后,启动时没有下面的错误了
/etc/conf.d/clock is still set Factory

但是很仍然说 failed to set clock!


TIMEZONE="Asia/Shanghai"
要改成这样
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表