曲径通幽论坛

标题: 设定时区 [打印本页]

作者: beyes    时间: 2015-7-1 23:07
标题: 设定时区
修改文件:
package/base-files/files/etc/config/system

内容:
config system
        option hostname groad
        option zonename 'Asia/Shanghai'
        option timezone 'CST-8'
        option conloglevel '8'
        option cronloglevel '8'

config timeserver ntp
        list server     0.ntp.shu.edu.cn
        list server     1.openwrt.pool.ntp.org
        list server     2.openwrt.pool.ntp.org
        list server     3.openwrt.pool.ntp.org
        option enabled 1
        option enable_server 0


比如改时区为“CST-8”,时区名为“上海”,底下的 ntp 服务器设定了上海大学的 NTP 服务器,国内使用可能会比较靠谱点。




欢迎光临 曲径通幽论坛 (http://www.groad.net/bbs/) Powered by Discuz! X3.2