Update dsmon.sh

This commit is contained in:
2023-01-02 10:45:28 -06:00
parent e652a36b75
commit 4f6d321b81

View File

@@ -125,7 +125,7 @@ CHECK(){
dname=${dname//\/dev\/mapper\//}
dname=${dname//\/dev\//}
if [ "${dname}" = "sda1" ] && [ ${DRIVEINFO[$((${ii}+1))]//M/} -lt 1024 ]; then
if [ "${dname}" = "sda1" ] && [ ${DRIVEINFO[$((${ii}+1))]//M/} -lt 102 ]; then
systempartition=true
elif [ "${dname}" = "sda2" ] && [ ${DRIVEINFO[$((${ii}+1))]//M/} -lt 1024 ]; then
systempartition=true