Update install-dsmon.sh
This commit is contained in:
@@ -33,7 +33,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' | awk '{ print $1 " " $2 " " $4 }'`
|
||||
DRIVEINFO=`df -BM | grep -vE '^Filesystem|tmpfs|cdrom|@|ram|loop|udev|veeamimage' | awk '{ print $1 " " $2 " " $4 }'`
|
||||
DRIVEINFO=(${DRIVEINFO})
|
||||
NUMDRIVES=$((${#DRIVEINFO[@]} / 3))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user