Update install-dsmon.sh

This commit is contained in:
2025-03-30 08:48:13 -05:00
parent c1797c38ea
commit 99d89baeeb

View File

@@ -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|//|AFS' | awk '{ print $1 " " $2 " " $4 }')
DRIVEINFO=(${DRIVEINFO})
NUMDRIVES=$((${#DRIVEINFO[@]} / 3))