aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-04-23 14:30:11 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-04-23 14:30:11 +0000
commit0a827cdb1cd404195c58c69a1e9e060897263a09 (patch)
tree26fba728cb86504d6da997892f6d96829742f464
parent00a43b0a5296e1b31de2a2d4cd7099e1a8c7c6d2 (diff)
downloadupstream-0a827cdb1cd404195c58c69a1e9e060897263a09.tar.gz
upstream-0a827cdb1cd404195c58c69a1e9e060897263a09.tar.bz2
upstream-0a827cdb1cd404195c58c69a1e9e060897263a09.zip
kill hotplug2 before running init
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10929 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 45328384e9..a3387eb107 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