summaryrefslogtreecommitdiff
blob: 00049070bf57d495fdca8f8b489a9e38d6fb403b (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

awk -F \" '/"Card:/ { print $2 }' pcitable | sed "s|Card:||g" | sort -u | \
  while read card ; do
        export err=
  	if ! grep -q "^NAME $card" Cards ; then
	  echo "Error: Card $card not found in CardsDB"
	  exit 1
	fi
  done