summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-07-28 14:15:52 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-07-28 14:32:07 (GMT)
commitcaae7fa1d737c550b4a2f557d6e1761b93934340 (patch)
treeb72d010d215a4110a2faddc5d2a5b4fe736c97f5
parentd0c0635fe2b50d8baff95f62b857e12a2cbb4167 (diff)
downloadbuildroot-caae7fa1d737c550b4a2f557d6e1761b93934340.tar.gz
buildroot-caae7fa1d737c550b4a2f557d6e1761b93934340.tar.bz2
busybox: register mdev as hotplug helper when selected
It's also done in the kernel configuration, however users may be using some other pre-built kernel and miss functionality like firmware loading. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/busybox/S10mdev1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/busybox/S10mdev b/package/busybox/S10mdev
index c06aa20..d386d42 100644
--- a/package/busybox/S10mdev
+++ b/package/busybox/S10mdev
@@ -6,6 +6,7 @@
case "$1" in
start)
echo "Starting mdev..."
+ echo /sbin/mdev >/proc/sys/kernel/hotplug
/sbin/mdev -s
;;
stop)