Update nodemgmt-scripts.sh
This commit is contained in:
@@ -726,7 +726,7 @@ DOWNLIST(){
|
|||||||
host=${ditem%%~*}
|
host=${ditem%%~*}
|
||||||
item=${ditem#*~}
|
item=${ditem#*~}
|
||||||
if [ "${1}" == "ignore" ]; then
|
if [ "${1}" == "ignore" ]; then
|
||||||
[ ${is} -lt 10 ] && ignsel=" ${is})" || ignsel="${is}) "
|
[ ${is} -lt 10 ] && ignsel=" ${is}) " || ignsel="${is}) "
|
||||||
else
|
else
|
||||||
ignsel=""
|
ignsel=""
|
||||||
fi
|
fi
|
||||||
@@ -755,7 +755,7 @@ DOWNLIST(){
|
|||||||
c=0; spc2=''
|
c=0; spc2=''
|
||||||
spc1=${cw2}-${#itemname}-${#host}-${spc1}
|
spc1=${cw2}-${#itemname}-${#host}-${spc1}
|
||||||
until [ $c = ${spc1} ]; do spc2="${spc2} "; c=`expr $c + 1`; done
|
until [ $c = ${spc1} ]; do spc2="${spc2} "; c=`expr $c + 1`; done
|
||||||
echo -e "${idsCL[Red]}${ignsel}${idsST[Bold]}${itemname}${spc}${host}${spc2}$(SHOW_TIME ${toterrtime})${idsST[Reset]}${idsCL[Default]}"
|
echo -e "${idsCL[LightRed]}${ignsel}${idsST[Bold]}${itemname}${spc}${host}${spc2}$(SHOW_TIME ${toterrtime})${idsST[Reset]}${idsCL[Default]}"
|
||||||
DIVIDER false darkGray 90
|
DIVIDER false darkGray 90
|
||||||
((is++))
|
((is++))
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user