From 2d0cf72fde383d8177159a24e62bb2454ae39f3a Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 7 Apr 2023 19:11:15 -0500 Subject: [PATCH] Update dsmon.sh --- dsmon.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dsmon.sh b/dsmon.sh index 3fc237f..5b19cc7 100755 --- a/dsmon.sh +++ b/dsmon.sh @@ -31,7 +31,9 @@ RUN(){ 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