Bedingung zum Output hinzugefügt.
This commit is contained in:
parent
f36f3cd9e9
commit
92d1f7d3b2
1 changed files with 16 additions and 14 deletions
30
test.uefi
30
test.uefi
|
@ -64,20 +64,22 @@ else
|
|||
echo " Fehlende Partitionen:"
|
||||
for part in "${!PARTITIONS_PRESENT[@]}"; do
|
||||
echo "- $part"
|
||||
case $part in
|
||||
"ROOT" )
|
||||
echo " - Root-Partition"
|
||||
;;
|
||||
"USR" )
|
||||
echo " - /usr-Partition"
|
||||
;;
|
||||
"USRHASH" )
|
||||
echo " - /usr-Verity-Partition"
|
||||
;;
|
||||
"ESP" )
|
||||
echo " - ESP-Partition"
|
||||
;;
|
||||
esac
|
||||
if [[ ${PARTITIONS_PRESENT[$part]} -eq 0 ]]; then
|
||||
case $part in
|
||||
"ROOT" )
|
||||
echo " - Root-Partition"
|
||||
;;
|
||||
"USR" )
|
||||
echo " - /usr-Partition"
|
||||
;;
|
||||
"USRHASH" )
|
||||
echo " - /usr-Verity-Partition"
|
||||
;;
|
||||
"ESP" )
|
||||
echo " - ESP-Partition"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
done
|
||||
echo ""
|
||||
echo " =================================================================================="
|
||||
|
|
Loading…
Reference in a new issue