Beim Filesystem-Check-lsblk noch LABEL hinzugefügt, damit der Check funktioniert.
This commit is contained in:
parent
e2f41d724f
commit
b19d9c5a22
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ for i in ${PARTITION_NUMBERS}; do
|
|||
done
|
||||
|
||||
# Prüfen,ob die Dateisysteme schon korrekt sind
|
||||
FILESYSTEM_OUTPUT=$(lsblk -o NAME,FSTYPE,FSVER,PARTUUID | grep "${DRIVE//\/dev\/}[0-9]")
|
||||
FILESYSTEM_OUTPUT=$(lsblk -o NAME,FSTYPE,FSVER,PARTUUIDi,LABEL | grep "${DRIVE//\/dev\/}[0-9]")
|
||||
CHECK_FS_ESP=$(echo "${FILESYSTEM_OUTPUT}" | grep "${ESP_PARTITION["PARTUUID"]}" | grep -i "vfat" | grep -i "fat32" | grep -c -i "${ESP_LABEL}")
|
||||
CHECK_FS_USR=$(echo "${FILESYSTEM_OUTPUT}" | grep "${USR_PARTITION["PARTUUID"]}" | grep -i "ext4" | grep -c -i "${USR_LABEL}")
|
||||
CHECK_FS_USRHASH=$(echo "${FILESYSTEM_OUTPUT}" | grep "${USRHASH_PARTITION["PARTUUID"]}" | grep -c -i "dm_verity_hash")
|
||||
|
|
Loading…
Reference in a new issue