From 43c2c5d9ef7dae70df105bf63f00ef37104db27c Mon Sep 17 00:00:00 2001 From: rootzoll Date: Sun, 19 Jan 2025 10:33:32 +0100 Subject: [PATCH] patch code --- home.admin/config.scripts/blitz.data.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/home.admin/config.scripts/blitz.data.sh b/home.admin/config.scripts/blitz.data.sh index 01e559cee..5231a3d8d 100644 --- a/home.admin/config.scripts/blitz.data.sh +++ b/home.admin/config.scripts/blitz.data.sh @@ -500,6 +500,7 @@ if [ "$action" = "status" ] || [ "$action" = "mount" ] || [ "$action" = "unmount installDevice="" possibleInstallDevices=$(lsblk -o NAME,TRAN -d | grep -E 'mmc|usb|sr' | cut -d' ' -f1) for device in ${possibleInstallDevices}; do + echo "# check device ${device}" if parted "/dev/${device}" print 2>/dev/null | grep "^ *[0-9]" | grep -q "boot\|esp\|lba"; then installDevice="${device}" break