old way to check boot sd card

This commit is contained in:
rootzoll
2025-01-07 20:46:43 +01:00
parent 896aac10d4
commit 337797864e

View File

@@ -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
########################