storagepanel: fix default

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-05-12 20:52:05 +02:00
parent 92314d2a01
commit 212cca280c

View File

@ -76,7 +76,10 @@ if [ -z "${HDD_BAY}" ]; then
done
IDX=$((IDX + 1))
done
HDD_BAY=${HDD_BAY:-RACK_24_Bay}
if [ ${IDX} -gt 24 ]
HDD_BAY=RACK_24_Bay
fi
HDD_BAY=${HDD_BAY:-RACK_60_Bay}
fi
if [ -z "${SSD_BAY}" ]; then