DEBUGGING
This commit is contained in:
@@ -100,7 +100,7 @@ hardware_detection() {
|
||||
export TARGET_GRAPHICS="false"
|
||||
fi
|
||||
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."
|
||||
TARGET_GRAPHICS_RENDERER="true"
|
||||
else
|
||||
@@ -311,12 +311,12 @@ echo \"\${DISK_SIZE[@]}\"
|
||||
|
||||
# Get arrays back
|
||||
readarray -t LINES <<<"$DISK_DETAILS"
|
||||
read -r -a DISK_DEVPATH <<<"${LINES[0]:-}"
|
||||
read -r -a DISK_NAME <<<"${LINES[1]:-}"
|
||||
read -r -a DISK_TYPE <<<"${LINES[2]:-}"
|
||||
read -r -a DISK_HEALTH <<<"${LINES[3]:-}"
|
||||
read -r -a DISK_ID <<<"${LINES[4]:-}"
|
||||
read -r -a DISK_SIZE <<<"${LINES[5]:-}"
|
||||
read -r -a DISK_DEVPATH <<<"${LINES[0]}"
|
||||
read -r -a DISK_NAME <<<"${LINES[1]}"
|
||||
read -r -a DISK_TYPE <<<"${LINES[2]}"
|
||||
read -r -a DISK_HEALTH <<<"${LINES[3]}"
|
||||
read -r -a DISK_ID <<<"${LINES[4]}"
|
||||
read -r -a DISK_SIZE <<<"${LINES[5]}"
|
||||
### Get disk information <--
|
||||
|
||||
### --> Disk selection
|
||||
|
||||
Reference in New Issue
Block a user