mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-12-24 09:31:03 -05:00
17 lines
314 B
Bash
Executable file
17 lines
314 B
Bash
Executable file
#!/bin/bash
|
|
|
|
## Copyright (C) 2025 - 2025 ENCRYPTED SUPPORT LLC <adrelanos@whonix.org>
|
|
## See the file COPYING for copying conditions.
|
|
|
|
set -e
|
|
|
|
export LC_ALL='C'
|
|
|
|
## Package 'pciutils' provides tool 'lspci'.
|
|
command -v lspci &>/dev/null
|
|
|
|
if lspci | grep --quiet '^[^ ]* USB controller: '; then
|
|
exit 0
|
|
fi
|
|
|
|
exit 1
|