Update dsmon.sh
This commit is contained in:
2
dsmon.sh
2
dsmon.sh
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user