Update nodemgmt-scripts.sh
This commit is contained in:
@@ -759,7 +759,9 @@ DOWNLIST(){
|
||||
if [ "${1}" != "ignore" ]; then
|
||||
echo -e "${idsCL[LightRed]}${itemname}${spc}${host}${spc2}$(SHOW_TIME ${toterrtime})${idsCL[Default]}"
|
||||
else
|
||||
[ "${choice}" != "" ] && [ ${is} -eq `expr ${choice} - 1` ] && touch ${NM_TMPFOLDER}/${ditem}.disable
|
||||
if [ "${choice}" != "" ] && [ ${is} -eq ${choice} ]; then
|
||||
[ ! -f ${NM_TMPFOLDER}/${ditem}.disable ] && touch ${NM_TMPFOLDER}/${ditem}.disable || rm -f ${NM_TMPFOLDER}/${ditem}.disable
|
||||
fi
|
||||
|
||||
[ ${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