summaryrefslogtreecommitdiff
path: root/target
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
parent7232fe9150c2ab15cfcfc68eea837255e3be61fd (diff)
downloadmtk-20170518-c1f6e213a11bde4c3cc31096bcc82c0346deab7e.zip
mtk-20170518-c1f6e213a11bde4c3cc31096bcc82c0346deab7e.tar.gz
mtk-20170518-c1f6e213a11bde4c3cc31096bcc82c0346deab7e.tar.bz2
kill hotplug2 before running init
SVN-Revision: 10929
Diffstat (limited to 'target')
-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 4532838..a3387eb 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