9 lines
129 B
Bash
9 lines
129 B
Bash
#!/bin/bash
|
|
|
|
while read -r f; do
|
|
if [[ -e ${f}vmlinuz ]]; then
|
|
depmod $(basename "$f")
|
|
fi
|
|
done
|
|
|
|
# vim:set ft=sh sw=2 et:
|