Update dsmon.sh
This commit is contained in:
1 parent
2d0cf72fde
commit
c7a67f7dce
1 file changed
+4
-2
@@ -31,12 +31,14 @@ RUN(){
|
|||||||
systempartition=true
|
systempartition=true
|
||||||
elif [ "${ia}" = "shm" ] && [ ${DRIVEINFO[$((${ii}+1))]//M/} -lt 1024 ]; then
|
elif [ "${ia}" = "shm" ] && [ ${DRIVEINFO[$((${ii}+1))]//M/} -lt 1024 ]; then
|
||||||
systempartition=true
|
systempartition=true
|
||||||
elif [ "${ia}" = "nvme0n1p1" ] && [ ${DRIVEINFO[$((${ii}+1))]//M/} -lt 4096 ]; then
|
elif [ "${ia}" = "nvme0n1p1" ] && [ ${DRIVEINFO[$((${ii}+1))]//M/} -lt 1024 ]; then
|
||||||
systempartition=true
|
systempartition=true
|
||||||
elif [ "${ia}" = "nvme0n1p15" ] && [ ${DRIVEINFO[$((${ii}+1))]//M/} -lt 1024 ]; then
|
elif [ "${ia}" = "nvme1n1" ] && [ ${DRIVEINFO[$((${ii}+1))]//M/} -lt 4096 ]; then
|
||||||
systempartition=true
|
systempartition=true
|
||||||
elif [ "${ia}" = "mmcblk0p1" ] && [ ${DRIVEINFO[$((${ii}+1))]//M/} -lt 1024 ]; then
|
elif [ "${ia}" = "mmcblk0p1" ] && [ ${DRIVEINFO[$((${ii}+1))]//M/} -lt 1024 ]; then
|
||||||
systempartition=true
|
systempartition=true
|
||||||
|
elif [ ${DRIVEINFO[$((${ii}+1))]//M/} -lt 1024 ]; then
|
||||||
|
systempartition=true
|
||||||
else
|
else
|
||||||
#echo "${ia};${ib};${ic}"
|
#echo "${ia};${ib};${ic}"
|
||||||
DRIVE_INFO+=("${ia};${ib};${ic}")
|
DRIVE_INFO+=("${ia};${ib};${ic}")
|
||||||
|
|||||||
Reference in new issue
Block a user