DEBUGGING

This commit is contained in:
Raphael Numbus
2025-12-14 18:03:41 +01:00
parent e4bf6a0c1a
commit a2291e1437
+7 -7
View File
@@ -100,7 +100,7 @@ hardware_detection() {
export TARGET_GRAPHICS="false" export TARGET_GRAPHICS="false"
fi fi
echo -e "\n\n 🔎 Detecting transconding acceleration on target host..." echo -e "\n\n 🔎 Detecting transconding acceleration on target host..."
if ssh_to_host "ls /dev/dri/renderD128" 2>/dev/null; then if ssh_to_host "ls /dev/dri/ | grep -iq 'renderD128'" 2>/dev/null; then
echo -e " ✅ Transcoding capable card detected." echo -e " ✅ Transcoding capable card detected."
TARGET_GRAPHICS_RENDERER="true" TARGET_GRAPHICS_RENDERER="true"
else else
@@ -311,12 +311,12 @@ echo \"\${DISK_SIZE[@]}\"
# Get arrays back # Get arrays back
readarray -t LINES <<<"$DISK_DETAILS" readarray -t LINES <<<"$DISK_DETAILS"
read -r -a DISK_DEVPATH <<<"${LINES[0]:-}" read -r -a DISK_DEVPATH <<<"${LINES[0]}"
read -r -a DISK_NAME <<<"${LINES[1]:-}" read -r -a DISK_NAME <<<"${LINES[1]}"
read -r -a DISK_TYPE <<<"${LINES[2]:-}" read -r -a DISK_TYPE <<<"${LINES[2]}"
read -r -a DISK_HEALTH <<<"${LINES[3]:-}" read -r -a DISK_HEALTH <<<"${LINES[3]}"
read -r -a DISK_ID <<<"${LINES[4]:-}" read -r -a DISK_ID <<<"${LINES[4]}"
read -r -a DISK_SIZE <<<"${LINES[5]:-}" read -r -a DISK_SIZE <<<"${LINES[5]}"
### Get disk information <-- ### Get disk information <--
### --> Disk selection ### --> Disk selection