Revert r12510. Remove -rpath-link form TARGET_LDFLAGS as it breaks some
[openwrt.git] / package / base-files / files / etc / init.d / boot
index df2afd6..49562b7 100755 (executable)
@@ -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
@@ -41,9 +45,11 @@ start() {
        chown 0700 /tmp/.uci
        touch /var/log/wtmp
        touch /var/log/lastlog
+       touch /tmp/resolv.conf.auto
        ln -sf /tmp/resolv.conf.auto /tmp/resolv.conf
        [ "$FAILSAFE" = "true" ] && touch /tmp/.failsafe
 
+       killall -q hotplug2
        [ -x /sbin/hotplug2 ] && /sbin/hotplug2 --override --persistent \
                        --max-children 1 --no-coldplug &
 
This page took 0.024099 seconds and 4 git commands to generate.