busybox: register mdev as hotplug helper when selected
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Sun, 28 Jul 2013 14:15:52 +0000 (11:15 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 28 Jul 2013 14:32:07 +0000 (16:32 +0200)
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>
package/busybox/S10mdev

index c06aa20b5bc6823925f2412a7de7604e2e9669ff..d386d420b54faa92ff5088cd991a883b0fc657e1 100644 (file)
@@ -6,6 +6,7 @@
 case "$1" in
   start)
        echo "Starting mdev..."
+       echo /sbin/mdev >/proc/sys/kernel/hotplug
        /sbin/mdev -s
        ;;
   stop)