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
instpkg cleanup
[cmdllinux.git]
/
scripts
/
_ls_drivers_mkinitramfs.sh
blob
a94317219c941e1ad69bb6c34074af12c2382b83
1
2
cd
/
lib
/
modules
/
`uname -r`
/
kernel
3
if
[
-z
"
$1
"
];
then
4
find
drivers
-mindepth
1
-maxdepth
1
!
-path
"drivers/gpu"
|
sed
's%^drivers/[a-z0-9]\+$%&
\\
%'
5
else
6
find
drivers
-mindepth
1
-maxdepth
1
!
-path
"drivers/
$1
"
|
sed
's%^drivers/[a-z0-9]\+$%&
\\
%'
7
fi