This commit is contained in:
2023-04-26 18:33:03 -05:00
parent 05b0699399
commit 2cbca98ddf
2 changed files with 3 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
VERS='4.4.3-04262023'
VERS='4.4.4-04262023'
NODETYPES=PW
NODETYPES=MYSQL,LB,WEB,NC,WPD,LPD,PW

View File

@@ -564,11 +564,9 @@ STATUS(){
[ "${ST_ACTION}" != "check" ] && echo -en " ${idsCL[LightCyan]}Getting drives from server ... ${idsCL[Default]}"
declare -A partitions
DRIVEINFO=$(ssh root@${nip} df -BM | grep -vE '^Filesystem|tmpfs|cdrom|@|ram|loop|udev|veeamimage|nvme|localhost|shm|mmcblk|overlay|-volume|Music|Software' | awk '{ print $1 " " $2 " " $4 }')
echo $DRIVEINFO
DRIVEINFO=(${DRIVEINFO})
echo $DRIVEINFO
# echo -en "\e[1A";
# echo -e "\e[0K\r"
echo -en "\e[1A";
echo -e "\e[0K\r"
NUMDRIVES=$((${#DRIVEINFO[@]} / 3))
for ((i = 0 ; i <= $((${NUMDRIVES}-1)) ; i++)); do