repo.or.cz
/
cmdllinux.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
update repository
[cmdllinux.git]
/
example_n_useful
/
modules
/
_lsmod2.sh
blob
f44cf13c75554e59b062da9c1fd3dcd411c2cb68
1
find
/
sys
/
devices
-name
modalias
-print0
|
xargs
-r -0
cat
|
xargs
-r -i
modprobe
-R
"{}"
2
> /
dev
/
null | \
2
sort
-u
| \
3
while
read
line
;
do
4
echo
"****
$line
****"
5
modinfo
"
$line
"
6
echo
7
done