Support mmc disks

This commit is contained in:
Mark Ridgwell 2022-04-20 21:00:03 +01:00
parent d733f961b3
commit 14b409d350
No known key found for this signature in database
GPG Key ID: 4876FADA8731645D
1 changed files with 3 additions and 0 deletions

View File

@ -106,6 +106,9 @@ subvolumesetup () {
if [[ "${DISK}" =~ "nvme" ]]; then if [[ "${DISK}" =~ "nvme" ]]; then
partition2=${DISK}p2 partition2=${DISK}p2
partition3=${DISK}p3 partition3=${DISK}p3
elif [[ "${DISK}" =~ "mmc" ]]; then
partition2=${DISK}p2
partition3=${DISK}p3
else else
partition2=${DISK}2 partition2=${DISK}2
partition3=${DISK}3 partition3=${DISK}3