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