Konstantin Demin
c3d09a3e94
imported from https://salsa.debian.org/kernel-team/linux.git commit 9d5cc9d9d6501d7f1dd7e194d4b245bd0b6c6a22 version 6.11.4-1
12 lines
251 B
Plaintext
12 lines
251 B
Plaintext
add_usb() {
|
|
echo '** USB devices:' >&3
|
|
lsusb >&3 2>/dev/null || echo 'not available' >&3
|
|
echo >&3
|
|
}
|
|
|
|
ask_usb() {
|
|
# This information shouldn't vary much between kernel versions, so
|
|
# include it anyway.
|
|
test $same_system = nop || add_usb
|
|
}
|