Skip to contentSkip to conversation

busybox: register mdev as hotplug helper when selected

PATCH New Gustavo Zacarias 2 participants 2 messages Jul 28, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 package/busybox/S10mdev | 1 +
 1 file changed, 1 insertion(+)
package/busybox/S10mdev +1 -0
index c06aa20..d386d42 100644
@@ -6,6 +6,7 @@
 case "$1" in
   start)
 	echo "Starting mdev..."
+	echo /sbin/mdev >/proc/sys/kernel/hotplug
 	/sbin/mdev -s
 	;;
   stop)
Signature · 1 line
1.8.1.5
#1 lore raw

PATCH 1/1 busybox: register mdev as hotplug helper when selected

Dear Gustavo Zacarias,

Quoted 5 lines · Gustavo Zacarias

It's also done in the kernel configuration, however users may be using some other pre-built kernel and miss functionality like firmware loading.

Applied, thanks.

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com