mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-11-25 23:46:52 -05:00
sanity test
This commit is contained in:
parent
1267960842
commit
d50e6afc8f
1 changed files with 4 additions and 0 deletions
|
|
@ -3,9 +3,13 @@
|
||||||
## Copyright (C) 2025 - 2025 ENCRYPTED SUPPORT LLC <adrelanos@whonix.org>
|
## Copyright (C) 2025 - 2025 ENCRYPTED SUPPORT LLC <adrelanos@whonix.org>
|
||||||
## See the file COPYING for copying conditions.
|
## See the file COPYING for copying conditions.
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
export LC_ALL='C'
|
export LC_ALL='C'
|
||||||
|
|
||||||
## Package 'pciutils' provides tool 'lspci'.
|
## Package 'pciutils' provides tool 'lspci'.
|
||||||
|
command -v lspci &>/dev/null
|
||||||
|
|
||||||
if lspci | grep --quiet '^[^ ]* USB controller: '; then
|
if lspci | grep --quiet '^[^ ]* USB controller: '; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue