repo.or.cz
/
trinity.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix centos6 build failures
[trinity.git]
/
scripts
/
load-all-modules.sh
blob
ba5d6d20a2cc2155443ce673fc8d7c1ba3fa7292
1
#!/bin/bash
2
3
DIR
=/
lib
/
modules
/
`uname -r`
4
5
for
i
in
`find
$DIR
/kernel -type f -name "*.ko" | grep -v test_nx | grep -v ring_buffer_benchmark`
6
do
7
MOD
=
`basename
$i
| sed s/\.ko//`
8
echo
Loading
$MOD
9
/
sbin
/
modprobe
$MOD
10
done