init.d: added dev

This commit is contained in:
Ella-0 2021-05-21 10:47:09 +01:00
parent 0b3fbb4c35
commit ed30e5c98b
1 changed files with 6 additions and 0 deletions

6
init/init.d/dev Executable file
View 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