1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

system now knows which timezone it is in

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11445 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
blogic
2008-06-11 19:59:16 +00:00
parent dde8e9a63e
commit 2964b01abc
3 changed files with 6 additions and 1 deletions

View File

@@ -12,6 +12,10 @@ system_config() {
config_get conloglevel "$cfg" conloglevel
[ -n "$conloglevel" ] && dmesg -n "$conloglevel"
config_get timezone "$cfg" timezone
[ -z "$timezone" ] && timezone=UTC
echo "$timezone" > /tmp/TZ
config_get log_ip "$cfg" log_ip
config_get log_size "$cfg" log_size