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