Update nodemgmt-scripts.sh

This commit is contained in:
2023-11-09 10:35:57 -06:00
parent 37a70f2912
commit 3da406fdb5

View File

@@ -768,7 +768,7 @@ DOWNLIST(){
[ -f ${NM_TMPFOLDER}/${ditem}.disable ] && dstatus="OFF" || dstatus="${idsCL[Yellow]}ON" [ -f ${NM_TMPFOLDER}/${ditem}.disable ] && dstatus="OFF" || dstatus="${idsCL[Yellow]}ON"
time=$(SHOW_TIME ${toterrtime}) time=$(SHOW_TIME ${toterrtime})
c=0; spc3='' c=0; spc3=''
until [ $c = `expr 26 - ${#time}` ]; do spc3="${spc3} "; c=`expr $c + 1`; done until [ $c = `expr 26 - ${#time}` ]; do spc3="${spc3} "; ((c++)); done
echo -e "\033[K${idsCL[LightRed]}${idsST[Bold]}${ignsel}${idsST[Reset]}${idsCL[LightRed]}${itemname}${spc}${host}${spc2}${time}${spc3}${dstatus}${idsCL[Default]}" echo -e "\033[K${idsCL[LightRed]}${idsST[Bold]}${ignsel}${idsST[Reset]}${idsCL[LightRed]}${itemname}${spc}${host}${spc2}${time}${spc3}${dstatus}${idsCL[Default]}"
fi fi