diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-11-18 12:53:13 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-11-18 12:53:13 +0000 |
commit | 28c4795887d5109a77435293757ad3cc4d039d4e (patch) | |
tree | e5a9f958a3ef0ca01d5806c339bc07b2809ee156 /check-cards | |
parent | New repository initialized by cvs2svn. (diff) | |
download | hwdata-28c4795887d5109a77435293757ad3cc4d039d4e.tar.gz hwdata-28c4795887d5109a77435293757ad3cc4d039d4e.tar.bz2 hwdata-28c4795887d5109a77435293757ad3cc4d039d4e.zip |
This is the first version of this data. The pcitable and MonitorsDB files came from http://cvs.mandriva.com/cgi-bin/cvsweb.cgi/soft/ldetect-lst/lst/ while blacklist and check-cards come from Red Hat's hwdata package. The Cards file was created by me from the entries in the pcitable.
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/hwdata/trunk@2 84bf7363-891f-0410-9a98-864156d94163
Diffstat (limited to 'check-cards')
-rwxr-xr-x | check-cards | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/check-cards b/check-cards new file mode 100755 index 0000000..0004907 --- /dev/null +++ b/check-cards @@ -0,0 +1,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 |