diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 409c8a13..9d1a70f5 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -836,7 +836,7 @@ MAINTENANCE_MODE(){ echo -e " ${idsCL[LightCyan]}${NM_HOSTNAMES[${!PH}]}[${!PH}] <--> ${idsST[Bold]}${NM_HOSTNAMES[${nip}]}[${nip}]${idsST[Reset]}${idsCL[Default]}" DIVIDER false green for rcheck in "${!var1}"; do - ic=0; cw=100; spc=''; spc1=${cw}-${#NM_REPL_DESC[${rcheck}]}; until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done + # ic=0; cw=${PRI_CW}; spc=''; spc1=${cw}-${#NM_REPL_DESC[${rcheck}]}; until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done echo -en " ${NM_REPL_DESC[${rcheck}]}${spc}: " echo -e "${idsCL[LightGreen]}here${idsCL[Default]}"