Update nodemgmt-scripts.sh
This commit is contained in:
@@ -759,7 +759,8 @@ DOWNLIST(){
|
||||
if [ "${1}" != "ignore" ]; then
|
||||
echo -e "${idsCL[LightRed]}${itemname}${spc}${host}${spc2}$(SHOW_TIME ${toterrtime})${idsCL[Default]}"
|
||||
else
|
||||
[ "${is}" == "$(expr ${choice}-1)" ] && touch ${NM_TMPFOLDER}/${ditem}.disable
|
||||
echo "HERE: ${is} $(expr ${choice}-1)"
|
||||
[ ${is} -eq $(expr ${choice}-1) ] && touch ${NM_TMPFOLDER}/${ditem}.disable
|
||||
|
||||
[ ${is} -lt 10 ] && ignsel=" ${is}) " || ignsel="${is}) "
|
||||
[ -f ${NM_TMPFOLDER}/${ditem}.disable ] && dstatus="OFF" || dstatus="${idsCL[Yellow]}on"
|
||||
|
||||
Reference in New Issue
Block a user