storage: fix

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium
2024-03-05 21:51:41 +01:00
parent 3a6b8493c4
commit 2608924895

View File

@@ -121,7 +121,7 @@ function getmap() {
# Check for nonDT
MODEL="$(readConfigKey "model" "${USER_CONFIG_FILE}")"
DT="$(readModelKey "${MODEL}" "dt")"
if [ ! "{DT}" = "true" ] && [ $(lspci -d ::106 | wc -l) -gt 0 ]; then
if [[ "{DT}" = "false" && $(lspci -d ::106 | wc -l) -gt 0 ]]; then
# Check for Sata Boot
LASTDRIVE=0
while read -r LINE; do