13 lines
257 B
Plaintext
13 lines
257 B
Plaintext
|
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
|
||
|
}
|
||
|
|