Update nodemgmt-scripts.sh
This commit is contained in:
@@ -763,10 +763,10 @@ DOWNLIST(){
|
||||
fi
|
||||
|
||||
[ ${is} -lt 10 ] && ignsel=" ${is}) " || ignsel="${is}) "
|
||||
[ -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})
|
||||
c=0; spc3=''
|
||||
until [ $c = `expr 27 - ${#time}` ]; do spc3="${spc3} "; c=`expr $c + 1`; done
|
||||
until [ $c = `expr 26 - ${#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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user