mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-12 23:03:29 +08:00
caae7fa1d7
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>
22 lines
241 B
Bash
22 lines
241 B
Bash
#!/bin/sh
|
|
#
|
|
# Start mdev....
|
|
#
|
|
|
|
case "$1" in
|
|
start)
|
|
echo "Starting mdev..."
|
|
echo /sbin/mdev >/proc/sys/kernel/hotplug
|
|
/sbin/mdev -s
|
|
;;
|
|
stop)
|
|
;;
|
|
restart|reload)
|
|
;;
|
|
*)
|
|
echo "Usage: $0 {start|stop|restart}"
|
|
exit 1
|
|
esac
|
|
|
|
exit $?
|