From d672a0f13fc3fb1e13f413d5869e8e100f6f154f Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 28 Jan 2019 09:43:42 -0600 Subject: [PATCH] Update run.sh --- run.sh | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/run.sh b/run.sh index b41fe22b..57dab512 100755 --- a/run.sh +++ b/run.sh @@ -6,14 +6,13 @@ source /opt/idssys/defaults/colors.inc VERS=`mysql -h 10.5.10.56 -P 3308 -u sqluser -pdcs2057 -s -N -e "SELECT value FROM idssys.nodemgmt WHERE var = 'VERS'"` -echo "" -echo -e "${idsCL[Yellow]} NodeMgmt - Galera/NGINX Node Management${idsCL[Default]} ${idsCL[DarkGray]}(ver-${VERS})${idsCL[Default]}" -echo -e "${idsCL[Yellow]}-------------------------------------------------------------${idsCL[Default]}" -echo -e "Node hostname: ${node_hostname}" -echo -e "${idsCL[Yellow]}-------------------------------------------------------------${idsCL[Default]}" -echo "" - if [ "$1" != "service" ] && [ "$1" != "" ]; then + echo "" + echo -e "${idsCL[Yellow]} NodeMgmt - Galera/NGINX Node Management${idsCL[Default]} ${idsCL[DarkGray]}(ver-${VERS})${idsCL[Default]}" + echo -e "${idsCL[Yellow]}-------------------------------------------------------------${idsCL[Default]}" + echo -e "Node hostname: ${node_hostname}" + echo -e "${idsCL[Yellow]}-------------------------------------------------------------${idsCL[Default]}" + echo "" echo -e "${idsCL[LightCyan]}Checking for updates...${idsCL[Default]}" echo "" cd /opt/idssys/defaults