6 lines
170 B
Bash
6 lines
170 B
Bash
|
#!/bin/bash
|
||
|
for i in `find /sys/ -name modalias -exec cat {} \;`; do
|
||
|
/sbin/modprobe --config /dev/null --show-depends $i ;
|
||
|
done | rev | cut -f 1 -d '/' | rev | sort -u
|
||
|
|