summaryrefslogtreecommitdiffstats
path: root/debian/templates/image.bug/include-usb
blob: e8eb67e42d1450e717b8459c9b794317eaaabe94 (plain)
1
2
3
4
5
6
7
8
9
10
11
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 
}