instpkg cleanup
[cmdllinux.git] / scripts / _find_fw.sh
blobd8aa4664b7927bd6150c3e2513c8cbe4cdfb5d93
1 find -type l -printf "%P\n" -o -type f -printf "%P\n" | \
2 while read file; do
3 FW=$(basename $file)
4 A=$(grep "^$FW$\|/$FW$" fw.lst)
5 [ ! -z "$A" ] && echo "file : $file" && echo "$A" | sed "s%.*%needed_fw: &%"
6 done