add --no-coldplug to the hotplug2 process started by /etc/init.d/boot - should preven...
[openwrt/svn-archive/archive.git] / package / base-files / files / etc / init.d / boot
index 02519fbbc77a9f1110b52d190f5eb1970d6cab7a..c0b61928c1511970892827a80915dbab65be06ce 100755 (executable)
@@ -38,10 +38,10 @@ start() {
        mkdir -p /var/state
        touch /var/log/wtmp
        touch /var/log/lastlog
-       ln -s /tmp/resolv.conf.auto /tmp/resolv.conf
+       ln -sf /tmp/resolv.conf.auto /tmp/resolv.conf
        [ "$FAILSAFE" = "true" ] && touch /tmp/.failsafe
-       
-       /sbin/hotplug2 --persistent --max-children 1 &
+
+       /sbin/hotplug2 --override --persistent --max-children 1 --no-coldplug &
 
        # the coldplugging of network interfaces needs to happen later, so we do it manually here
        for iface in $(awk -F: '/:/ {print $1}' /proc/net/dev); do