repo.or.cz
/
buildroot-gz.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
sysklogd: fix build on musl
[buildroot-gz.git]
/
package
/
busybox
/
S10mdev
blob
63ca955b1c551671dc18adac4f7e961430c1a675
1
#!/bin/sh
2
#
3
# Start mdev....
4
#
5
6
case
"
$1
"
in
7
start
)
8
echo
"Starting mdev..."
9
echo
/
sbin
/
mdev
>/
proc
/
sys
/
kernel
/
hotplug
10
/
sbin
/
mdev
-s
11
# coldplug modules
12
find
/
sys
/
-name
modalias
-print0
|
xargs
-0
sort
-u -z
|
xargs
-0
modprobe
-abq
13
;;
14
stop
)
15
;;
16
restart|reload
)
17
;;
18
*)
19
echo
"Usage:
$0
{start|stop|restart}"
20
exit
1
21
esac
22
23
exit
$?