Update nodemgmt-scripts.sh
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user