kernel-source/modflist

10 lines
178 B
Plaintext
Raw Normal View History

#!/bin/sh -e
flist=$1
modules=$2
output=$3
while read MOD ; do
[ -n "$MOD" ] || continue
cat $flist | grep /$MOD[.]ko\$ >> $output || echo Module $MOD missing
done < $modules