add_pci() { echo '** PCI devices:' >&3 lspci -nnvv >&3 2>/dev/null || echo 'not available' >&3 echo >&3 } ask_pci() { # This information shouldn't vary much between kernel versions, so # include it anyway. test $same_system = nop || add_pci }