In Debian SD-slot appears, as "/dev/mmcblk1", not "/dev/mmcblk0". So, a small edit is required:Code:
if [[ "${ROOT_DEV}" =~ ^/dev/mmcblk[0-9]p$ || \ "${ROOT_DEV}" =~ ^/dev/nvme[0-9]n1p$ ]]; then ROOT_DEV="${ROOT_DEV:0:(${#ROOT_DEV} - 1)}"fi
You need to make that change in two places.
I'll make the same changes on my end so you won't have to edit the script the next time I post an update.
Thanks for the feedback.
Statistics: Posted by RonR — Sat Dec 14, 2024 1:22 am