X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/72dff34c99d10b2c2e1f737348581a5261254fd2..2964b01abc4f2649ccf41b7d2c22a4ddf83eaabb:/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 5f5ca99b9..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 @@ -27,7 +31,7 @@ apply_uci_config() {( start() { [ -f /proc/mounts ] || /sbin/mount_root [ -f /proc/jffs2_bbc ] && echo "S" > /proc/jffs2_bbc - vconfig set_name_type DEV_PLUS_VID_NO_PAD + [ -f /proc/net/vlan/config ] && vconfig set_name_type DEV_PLUS_VID_NO_PAD apply_uci_config config_load system