Update nodemgmt-scripts.sh

This commit is contained in:
2023-01-01 18:50:30 -06:00
parent 27b25a4c1e
commit 9954340b89

View File

@@ -554,7 +554,7 @@ STATUS(){
DIVIDER false green
fi
declare -A partitions
partitions=`${NCMD} df -hBM | grep -vE '^Filesystem|tmpfs|cdrom|loop|overlay|shm' | awk '{ print $5 " " $1 }' | while read output; do echo $output | awk '{ print $2 }'; done;`
partitions=`${NCMD} df -hBM | grep -vE '^Filesystem|tmpfs|cdrom|loop|overlay|shm|-volume|Music|media-data|Software' | awk '{ print $5 " " $1 }' | while read output; do echo $output | awk '{ print $2 }'; done;`
partitions2=`echo ${partitions[*]}`
partitions3=(${partitions2})
for partition in "${partitions3[@]}"; do