From 7ffcba09829179e70fbba4cbd47e61e5e01e620c Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 4 Feb 2019 00:14:09 -0600 Subject: [PATCH] update --- defaults.inc | 8 +++++--- nodemgmt-scripts.sh | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/defaults.inc b/defaults.inc index 207e894c..56b1d311 100755 --- a/defaults.inc +++ b/defaults.inc @@ -30,7 +30,7 @@ DISP_HEADER(){ fi echo "" echo -e "${idsCL[Yellow]} NodeMgmt - Galera/NGINX Node Management${idsCL[Default]} ${idsCL[DarkGray]}(ver-${VERS})${idsCL[Default]}" - echo -e "${idsCL[Yellow]}-------------------------------------------------------------${idsCL[Default]}" + DIVIDER if [ "$2" = true ]; then echo -e "Node hostname: ${idsST[Bold]}${idsCL[LightCyan]}${NODE_HOSTNAME}${idsCL[Default]}${idsST[Reset]}" if [ -z ${LOCAL_SERVICES+x} ]; then SERVICES=$( IFS=$','; echo "${NODE_SERVICES[*]}" ) @@ -45,12 +45,14 @@ DISP_HEADER(){ else echo -e "${idsCL[Red]}Not Running${idsCL[Default]}" fi done - echo -e "${idsCL[Yellow]}-------------------------------------------------------------${idsCL[Default]}" + eDIVIDER fi echo "" } DIVIDER(){ echo -e "${idsCL[Yellow]}-------------------------------------------------------------${idsCL[Default]}" - echo "" + if [ "$1" = true ]; then + echo "" + fi } \ No newline at end of file diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index db4a1e22..8839f01b 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -436,7 +436,7 @@ GUI(){ read -n 1 opt echo "" case $opt in - 1) DIVIDER; STATUS; GUI;; + 1) STATUS; GUI;; 2) GLANCES_INSTALL INSTALL_MENU;; 3) X11VNC_INSTALL