mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-26 19:47:05 +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
|
# system might run from SD card
|
||||||
bootFromStorage=0
|
bootFromStorage=0
|
||||||
# check if boot partition is on SD card (mmcblk)
|
# 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
|
fi
|
||||||
|
|
||||||
########################
|
########################
|
||||||
|
Reference in New Issue
Block a user