From 2964b01abc4f2649ccf41b7d2c22a4ddf83eaabb Mon Sep 17 00:00:00 2001 From: blogic Date: Wed, 11 Jun 2008 19:59:16 +0000 Subject: system now knows which timezone it is in git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11445 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/etc/init.d/boot | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'package/base-files/files/etc/init.d/boot') diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index df2afd6b8..57c034eb4 100755 --- a/package/base-files/files/etc/init.d/boot +++ b/package/base-files/files/etc/init.d/boot @@ -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 -- cgit v1.2.3