init.d: added dev
This commit is contained in:
parent
0b3fbb4c35
commit
ed30e5c98b
1 changed files with 6 additions and 0 deletions
6
init/init.d/dev
Executable file
6
init/init.d/dev
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
for id in $(find /sys -name modalias -print0 | xargs -0 cat | sort -u); do
|
||||||
|
echo $id
|
||||||
|
modprobe $id
|
||||||
|
done
|
Loading…
Reference in a new issue