mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-21 14:11:06 +02:00
old way to check boot sd card
This commit is contained in:
@@ -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
|
||||
|
||||
########################
|
||||
|
Reference in New Issue
Block a user