#!/bin/sh
# $Id: testpci,v 1.3 2004/03/21 11:29:50 andrew Exp $
#
# by Andrew McMillan, Catalyst IT Ltd, (c) 2001 licensed
# for use under the GPL version 2
#

# Turn on execution tracing, for debugging...
[ "$DEBUGWHEREAMI" = "1" ] && set -o xtrace

/usr/bin/lspci -v | grep "$1" >/dev/null && exit 0

exit 1
