2
0
forked from Ivasoft/openwrt

system now knows which timezone it is in

SVN-Revision: 11445
This commit is contained in:
John Crispin
2008-06-11 19:59:16 +00:00
parent ab504da309
commit 0bf765b362
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