mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-12-24 06:20:54 -05:00
Merge branch 'master' into docs
This commit is contained in:
commit
0aa0b67df6
7 changed files with 113 additions and 7 deletions
17
usr/libexec/security-misc/check-for-usb-controller#security-misc-shared
Executable file
17
usr/libexec/security-misc/check-for-usb-controller#security-misc-shared
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
#!/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
|
||||
Loading…
Add table
Add a link
Reference in a new issue