move the hotplug2 kill command from preinit to /etc/init.d/boot, so that it works...
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 1 Aug 2008 03:01:42 +0000 (03:01 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 1 Aug 2008 03:01:42 +0000 (03:01 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12058 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/base-files/files/etc/init.d/boot
package/base-files/files/etc/preinit

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 &
 
index 3b2ab74..810558c 100755 (executable)
@@ -87,6 +87,5 @@ if [ -z "$INITRAMFS" ]; then
 
        echo "- init -"
        
-       killall hotplug2
        exec /sbin/init
 fi
This page took 0.028487 seconds and 4 git commands to generate.