move the hotplug2 kill command from preinit to /etc/init.d/boot, so that it works...
[openwrt-10.03/.git] / package / base-files / files / etc / init.d / boot
index 57c034eb48f20f5dce632b6ba6e10fabe7dba9a1..88dded646c3db1df2a75a68b64d78af8f5e6dc9d 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 &