From 77c48f80019d264289705e5e358e58b18bb6bed4 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 12 Dec 2023 10:35:59 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 2477e1af..6333d530 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -765,11 +765,11 @@ MAINTENANCE_MODE(){ else echo -e "${idsCL[LightYellow]} ${NM_NODETYPES[$NTYPE]}-Node Service Status${idsCL[Default]}" fi - DIVIDER . lightYellow; echo -en "${idsST[Reset]}" + DIVIDER . lightYellow 52; echo -en "${idsST[Reset]}" fi for nip in "${!hosts}"; do echo -e " ${idsST[Bold]}${idsCL[LightCyan]}${NM_HOSTNAMES[${nip}]} [${nip}]${idsST[Reset]}${idsCL[Default]}" - DIVIDER false lightCyan + DIVIDER false lightCyan 52 ######################## @@ -818,15 +818,15 @@ MAINTENANCE_MODE(){ if ([ "${STATUS_ACTION}" == "repl" ] || [ "${STATUS_ACTION}" == "" ]) && [ ! -z ${!repls+x} ]; then if [ "${MM_ACTION}" != "check" ]; then - echo -e "${idsCL[Green]}${NM_NODETYPES[${NTYPE}]} Replication Check(s)${idsCL[Default]}" - DIVIDER . green 52 + echo -e "${idsCL[LightCyan]} ${NM_NODETYPES[${NTYPE}]} Replication Check(s)${idsCL[Default]}" + DIVIDER . lightCyan 52 fi PH=${NTYPE}_HOSTS[0] 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 false green + DIVIDER . lightCyan 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