Update install-dsmon.sh

This commit is contained in:
2023-04-07 19:10:57 -05:00
parent c629a23fd3
commit 6bd2580ad2

View File

@@ -52,7 +52,9 @@ for ((i = 0 ; i <= $((${NUMDRIVES}-1)) ; i++)); do
systempartition=true
elif [ "${ia}" = "shm" ] && [ ${DRIVEINFO[$((${ii}+1))]//M/} -lt 1024 ]; then
systempartition=true
elif [ "${ia}" = "nvme0n1p1" ] && [ ${DRIVEINFO[$((${ii}+1))]//M/} -lt 1024 ]; then
elif [ "${ia}" = "nvme0n1p1" ] && [ ${DRIVEINFO[$((${ii}+1))]//M/} -lt 4096 ]; then
systempartition=true
elif [ "${ia}" = "nvme0n1p15" ] && [ ${DRIVEINFO[$((${ii}+1))]//M/} -lt 1024 ]; then
systempartition=true
elif [ "${ia}" = "mmcblk0p1" ] && [ ${DRIVEINFO[$((${ii}+1))]//M/} -lt 1024 ]; then
systempartition=true