From c1797c38eaa0692dc80cf4b5b559e9b1710f07ab Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 30 Mar 2025 08:29:13 -0500 Subject: [PATCH] Update install-dsmon.sh --- install-dsmon.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-dsmon.sh b/install-dsmon.sh index afd3a4d..92e8605 100755 --- a/install-dsmon.sh +++ b/install-dsmon.sh @@ -39,7 +39,7 @@ fi echo -e "declare -A THRESHOLD" > /opt/idssys/dsmon/config.settings.inc echo "" -DRIVEINFO=$(df -BM | grep -vE '^Filesystem|tmpfs|cdrom|@|ram|loop|udev|veeamimage|localhost|shm|overlay|-volume|Music|Software' | awk '{ print $1 " " $2 " " $4 }') +DRIVEINFO=$(df -BM | grep -vE '^Filesystem|tmpfs|cdrom|@|ram|loop|udev|veeamimage|localhost|shm|overlay|-volume|Music|Software|//' | awk '{ print $1 " " $2 " " $4 }') DRIVEINFO=(${DRIVEINFO}) NUMDRIVES=$((${#DRIVEINFO[@]} / 3))