diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 171a1bd7..24e58cd3 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -563,7 +563,7 @@ STATUS(){ [ "${ST_ACTION}" != "check" ] && echo -en " ${idsCL[LightCyan]}Getting drives from server ... ${idsCL[Default]}" declare -A partitions - partitions=`${NCMD} df -hBM | grep -vE '^Filesystem|tmpfs|cdrom|loop|overlay|shm|-volume|Music|media-data|Software|ram|Backups|nvme0n1p15' | 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|ram|Backups' | awk '{ print $5 " " $1 }' | while read output; do echo $output | awk '{ print $2 }'; done;` partitions2=`echo ${partitions[*]}` partitions3=(${partitions2}) echo -en "\e[1A"; @@ -574,7 +574,7 @@ STATUS(){ pname=`echo "${partition}" | awk -F'/' ' { print $NF } '` >/dev/null 2>&1 pname=${pname#*vg-} if [ "${ST_ACTION}" != "check" ]; then - c=0; cw=40; spc='' + c=0; cw=20; spc='' spc1=${cw}-${#pname} until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done echo -en " ${pname}$spc: "