瀏覽代碼

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>
Gustavo Zacarias 12 年之前
父節點
當前提交
caae7fa1d7
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      package/busybox/S10mdev

+ 1 - 0
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)