diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 229b97d9..d5c5e3d9 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -30,11 +30,9 @@ STATUS() { fi done - echo -e "${idsST[Bold]}" - DIVIDER + echo -e "${idsST[Bold]}"; DIVIDER echo -e "${idsCL[Yellow]} Node Service Status${idsCL[Default]}" - DIVIDER - echo -e "${idsST[Reset]}" + DIVIDER; echo -e "${idsST[Reset]}" if [ ! -z ${LOCAL_SERVICES+x} ]; then lip=$(/sbin/ip -o -4 addr list ens192 | awk '{print $4}' | cut -d/ -f1) echo -e " ${idsST[Bold]}${idsCL[LightCyan]}${NODE_HOSTNAME} (${lip})${idsST[Reset]}${idsCL[LightCyan]} - localhost${idsCL[Default]}" @@ -74,10 +72,9 @@ STATUS() { echo nid=`expr $nid + 1` done - echo - DIVIDER - echo -e "${idsST[Bold]}${idsCL[Yellow]} Replication Status to Other Nodes${idsCL[Default]}" - DIVIDER true + echo -e "${idsST[Bold]}"; DIVIDER + echo -e "${idsCL[Yellow]} Replication Status to Other Nodes${idsCL[Default]}" + DIVIDER; echo -e "${idsST[Reset]}" timeout=`date --date='20 seconds' +%s` nid=1 for nip in "${NODE_HOSTS[@]}"