This commit is contained in:
rootzoll
2025-01-07 20:27:42 +01:00
parent 8248a4c7ce
commit 5240a6648a

View File

@@ -320,6 +320,7 @@ if [ "$1" = "status" ]; then
# all other systems boot from storage # all other systems boot from storage
else else
echo "# all other systems boot from storage"
bootFromStorage=1 bootFromStorage=1
fi fi
@@ -328,6 +329,7 @@ if [ "$1" = "status" ]; then
# if there is a system drive but its smaller than systemMinGB - boot from storage # if there is a system drive but its smaller than systemMinGB - boot from storage
if [ ${systemSizeGB} -lt ${systemMinGB} ] && [ ${storageSizeGB} -gt ${storagePrunedMinGB} ]; then if [ ${systemSizeGB} -lt ${systemMinGB} ] && [ ${storageSizeGB} -gt ${storagePrunedMinGB} ]; then
echo "# system too small - boot from storage"
bootFromStorage=1 bootFromStorage=1
# otherwise remove the system device from the list # otherwise remove the system device from the list