minix/commands/lspci/lspci.sh

9 lines
134 B
Bash
Raw Normal View History

2010-09-14 23:31:56 +02:00
#!/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