From 337797864e490568cd7b3d7c99b9288378966233 Mon Sep 17 00:00:00 2001 From: rootzoll Date: Tue, 7 Jan 2025 20:46:43 +0100 Subject: [PATCH] old way to check boot sd card --- home.admin/config.scripts/blitz.data.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home.admin/config.scripts/blitz.data.sh b/home.admin/config.scripts/blitz.data.sh index 4fe815dd6..6e8ed2dc2 100644 --- a/home.admin/config.scripts/blitz.data.sh +++ b/home.admin/config.scripts/blitz.data.sh @@ -264,7 +264,7 @@ if [ "$1" = "status" ]; then # system might run from SD card bootFromStorage=0 # check if boot partition is on SD card (mmcblk) - bootFromSD=$(findmnt -n /boot | grep -c "^/dev/mmcblk") + bootFromSD=$(lsblk | grep mmcblk | grep -c /boot) fi ########################