minix/commands/lspci/lspci.sh
2010-09-14 21:31:56 +00:00

8 lines
134 B
Bash

#!/bin/sh
if [ ! -f /proc/pci ]; then
echo "PCI list not found (is /proc mounted?)" >&2
exit 1
fi
exec cut -d' ' -f3- /proc/pci