通过TZ来设置嵌入式ARM+Linux的时区

1、在/etc/profile或者/root/.profile(/home/username/.profile)

在其中加入:

TZ=UTC-08:00
export TZ
hwclock -s

posted @ 2017-01-18 13:12  xiulug  阅读(2735)  评论(0编辑  收藏  举报