X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/56801fec4ead06bb051af24212f18e5165269d5b..16bb6158194e3354b32aca447a3b53e5469f9424:/package/base-files/files/etc/init.d/boot?ds=sidebyside diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index 2fec48c4f..346d60d04 100755 --- a/package/base-files/files/etc/init.d/boot +++ b/package/base-files/files/etc/init.d/boot @@ -19,6 +19,9 @@ system_config() { config_get timezone "$cfg" timezone 'UTC' echo "$timezone" > /tmp/TZ + config_get zonename "$cfg" zonename + [ -n "$zonename" ] && [ -f "/usr/share/zoneinfo/$zonename" ] && ln -s "/usr/share/zoneinfo/$zonename" /tmp/localtime + if [ -x /sbin/syslogd ]; then local log_ip log_size log_port log_type log_file config_get log_ip "$cfg" log_ip