1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh lspci -nnk >&3 case $(uname -s) in Linux) cat /proc/interrupts >&3 ;; esac exit 0