isGPUDevice matched all AMD vendor PCIe devices (SATA, crypto coprocessors, PCIe dummies) because of a broad strings.Contains(vendor,"amd") check. Remove it — AMD Instinct/Radeon GPUs are caught by ProcessingAccelerator / DisplayController class. Also exclude ASPEED (BMC VGA adapter). Add clear before bee-tui to avoid dirty terminal output. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
10 lines
164 B
Bash
10 lines
164 B
Bash
#!/bin/sh
|
|
|
|
clear
|
|
|
|
if [ "$(id -u)" -ne 0 ]; then
|
|
exec sudo -n /usr/local/bin/bee tui --runtime livecd "$@"
|
|
fi
|
|
|
|
exec /usr/local/bin/bee tui --runtime livecd "$@"
|