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>
This commit is contained in:
Gustavo Zacarias 2013-07-28 11:15:52 -03:00 committed by Thomas Petazzoni
parent d0c0635fe2
commit caae7fa1d7
1 changed files with 1 additions and 0 deletions

View File

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