projects
/
platform
/
upstream
/
meta-generic.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
b61ac6ecf911ed0aca5b8603e6a3aebf837d4dd2
[platform/upstream/meta-generic.git]
/
scripts
/
generic-depmod.post
1
#!/bin/sh
2
echo "#################### generic-depmod.post ####################"
3
4
for D in /lib/modules/*; do
5
[ -d "$D" ] || continue
6
[ "$(find "$D" -name '*.ko' -print | head -c1 | wc -c)" -ne 0 ] || continue
7
depmod "$(basename $D)"
8
done