feat: Add 1 and update 3 files
This commit is contained in:
@@ -71,7 +71,7 @@ fi
|
||||
# GPU list (may have 0, 1, or multiple)
|
||||
GPU_JSON="[]"
|
||||
if command -v lspci &>/dev/null; then
|
||||
GPU_LINES=$(lspci 2>/dev/null | grep -i 'vga\|3d\|display' | sed 's/^[^ ]* //; s/VGA compatible controller: //; s/3D controller: //; s/Display controller: //' || true)
|
||||
GPU_LINES=$(lspci 2>/dev/null | grep -i 'VGA compatible controller\|3D controller\|Display controller' | sed 's/^[^ ]* //; s/VGA compatible controller: //; s/3D controller: //; s/Display controller: //' || true)
|
||||
if [ -n "$GPU_LINES" ]; then
|
||||
GPU_JSON="["
|
||||
first=true
|
||||
|
||||
Reference in New Issue
Block a user