Update nodemgmt-scripts.sh

This commit is contained in:
2023-11-08 23:20:21 -06:00
parent 24302f747b
commit 99dfcfc49d

View File

@@ -766,11 +766,11 @@ DOWNLIST(){
[ -f ${NM_TMPFOLDER}/${ditem}.disable ] && dstatus="off" || dstatus="${idsCL[Yellow]}on"
time=$(SHOW_TIME ${toterrtime})
c=0; spc3=''
until [ $c = `expr 23 - ${#time}` ]; do spc3="${spc3} "; c=`expr $c + 1`; done
echo -e "${idsCL[LightRed]}${idsST[Bold]}${ignsel}${idsST[Reset]}${idsCL[LightRed]}${itemname}${spc}${host}${spc2}${time}${spc3}${dstatus}${idsCL[Default]}"
until [ $c = `expr 27 - ${#time}` ]; do spc3="${spc3} "; c=`expr $c + 1`; done
echo -e "\033[K${idsCL[LightRed]}${idsST[Bold]}${ignsel}${idsST[Reset]}${idsCL[LightRed]}${itemname}${spc}${host}${spc2}${time}${spc3}${dstatus}${idsCL[Default]}"
fi
DIVIDER false darkGray 90
DIVIDER false darkGray 95
((is++))
done