summaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-04-23 14:30:11 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-04-23 14:30:11 +0000
commit2ac70f21f8529e20bf939f76a14a4b3980d788de (patch)
tree26fba728cb86504d6da997892f6d96829742f464 /target/linux
parent67ea4e32afe8765efbfd7d0459e865a44eb5d425 (diff)
kill hotplug2 before running init
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10929 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/generic-2.6/base-files/init1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/base-files/init b/target/linux/generic-2.6/base-files/init
index 45328384e..a3387eb10 100755
--- a/target/linux/generic-2.6/base-files/init
+++ b/target/linux/generic-2.6/base-files/init
@@ -74,4 +74,5 @@ mount -o move /dev/pts /mnt/dev/pts
mount -o move /tmp /mnt/tmp
mount -o move /sys /mnt/sys
mount none /tmp -t tmpfs
+killall -q hotplug2
exec switch_root -c /dev/console /mnt /sbin/init