From 2ebfca4429293b03c20304759c80ddb981fd69c8 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 7 Apr 2023 19:14:55 -0500 Subject: [PATCH] Update install-dsmon.sh --- install-dsmon.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install-dsmon.sh b/install-dsmon.sh index 01264a2..d516f4d 100755 --- a/install-dsmon.sh +++ b/install-dsmon.sh @@ -52,12 +52,14 @@ 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 4096 ]; then + elif [ "${ia}" = "nvme0n1p1" ] && [ ${DRIVEINFO[$((${ii}+1))]//M/} -lt 1024 ]; then systempartition=true - elif [ "${ia}" = "nvme0n1p15" ] && [ ${DRIVEINFO[$((${ii}+1))]//M/} -lt 1024 ]; then + elif [ "${ia}" = "nvme1n1" ] && [ ${DRIVEINFO[$((${ii}+1))]//M/} -lt 4096 ]; then systempartition=true elif [ "${ia}" = "mmcblk0p1" ] && [ ${DRIVEINFO[$((${ii}+1))]//M/} -lt 1024 ]; then systempartition=true + elif [ ${DRIVEINFO[$((${ii}+1))]//M/} -lt 1024 ]; then + systempartition=true elif [ "${ia}" != "overlay" ]; then #echo "${ia};${ib};${ic}"