Statement zur Überprüfung der Dateisysteme geändert.
This commit is contained in:
parent
462d256b25
commit
0f1ff21489
1 changed files with 2 additions and 2 deletions
|
@ -123,7 +123,7 @@ fi
|
|||
|
||||
#----------------------------#
|
||||
|
||||
CHECK_FS_EXISTENCE_OUTPUT=$(lsblk -pldo NAME,PARTUUID,PARTTYPE,FSTYPE,FSVER "${DRIVE}[0-9]")
|
||||
CHECK_FS_EXISTENCE_OUTPUT=$(lsblk -plo NAME,PARTUUID,PARTTYPE,FSTYPE,FSVER | grep -i "${DRIVE}[0-9]")
|
||||
declare -A INFO_ESP=""
|
||||
declare -A INFO_USR=""
|
||||
declare -A INFO_USRHASH=""
|
||||
|
@ -137,7 +137,7 @@ CHECK_FS_USRHASH=$(echo "${CHECK_FS_EXISTENCE_OUTPUT}" | grep -i "77ff5f63-e7b6-
|
|||
|
||||
CHECK_FS_ROOT=$(echo "${CHECK_FS_EXISTENCE_OUTPUT}" | grep -i "4f68bce3-e8cd-4db1-96e7-fbcaf984b709" | grep -i "ext4")
|
||||
|
||||
if [[ ${CHECK_ESP} -eq 0 ]]; then
|
||||
if [[ ${CHECK_FS_ESP} -eq 0 ]]; then
|
||||
echo "ESP-Dateisystem existiert nicht."
|
||||
else
|
||||
echo "ESP-Dateisystem existiert."
|
||||
|
|
Loading…
Reference in a new issue