move the hotplug2 kill command from preinit to /etc/init.d/boot, so that it works...
[openwrt/svn-archive/archive.git] / package / base-files / files / etc / init.d / boot
index 57c034e..88dded6 100755 (executable)
@@ -48,6 +48,7 @@ start() {
        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 &