Update nodemgmt-scripts.sh
This commit is contained in:
@@ -825,8 +825,8 @@ MAINTENANCE_MODE(){
|
||||
PH_CMD="ssh root@${!PH}"
|
||||
var2=${NTYPE}_HOSTS[@]
|
||||
for nip in "${!hosts}"; do
|
||||
echo -e " ${idsCL[LightCyan]}${NM_HOSTNAMES[${!PH}]}[${!PH}] <--> ${idsST[Bold]}${NM_HOSTNAMES[${nip}]}[${nip}]${idsST[Reset]}${idsCL[Default]}"
|
||||
DIVIDER . lightCyan 52
|
||||
echo -e " ${idsCL[Green]}${NM_HOSTNAMES[${!PH}]}[${!PH}] <--> ${idsST[Bold]}${NM_HOSTNAMES[${nip}]}[${nip}]${idsST[Reset]}${idsCL[Default]}"
|
||||
DIVIDER . green 52
|
||||
for rcheck in "${!repls}"; do
|
||||
if [ ${item_number} -lt 10 ]; then isel=" ${item_number})"; elif [ ${item_number} -lt 100 ]; then isel=" ${item_number})"; else isel=" ${item_number})"; fi
|
||||
c=0; spc=''; spc1=`expr ${PRI_CW} - ${#NM_REPL_DESC[${rcheck}]}`; until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
||||
|
||||
Reference in New Issue
Block a user