aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
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
commitc1f6e213a11bde4c3cc31096bcc82c0346deab7e (patch)
tree8fe6d4caa573ed0572b21e6b1ae606a6026caf76 /target/linux
parent7232fe9150c2ab15cfcfc68eea837255e3be61fd (diff)
downloadupstream-c1f6e213a11bde4c3cc31096bcc82c0346deab7e.tar.gz
upstream-c1f6e213a11bde4c3cc31096bcc82c0346deab7e.tar.bz2
upstream-c1f6e213a11bde4c3cc31096bcc82c0346deab7e.zip
kill hotplug2 before running init
SVN-Revision: 10929
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 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