Update run.sh

This commit is contained in:
2019-01-29 20:07:00 -06:00
parent 1894aabbfc
commit 9702cf77ec

5
run.sh
View File

@@ -7,7 +7,8 @@ source /opt/idssys/nodemgmt/settings.conf
source /opt/idssys/nodemgmt/defaults.inc source /opt/idssys/nodemgmt/defaults.inc
if [ "$1" != "service" ] && [ "$1" != "status" ] && [ "$1" != "status-check" ]; then if [ "$1" != "service" ] && [ "$1" != "status-check" ]; then
if [ "$1" != "status" ]; then
echo "" echo ""
echo -e "${idsCL[Yellow]} NodeMgmt - Galera/NGINX Node Management${idsCL[Default]} ${idsCL[DarkGray]}(ver-${VERS})${idsCL[Default]}" 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 "${idsCL[Yellow]}-------------------------------------------------------------${idsCL[Default]}"
@@ -23,7 +24,7 @@ if [ "$1" != "service" ] && [ "$1" != "status" ] && [ "$1" != "status-check" ];
done done
echo -e "${idsCL[Yellow]}-------------------------------------------------------------${idsCL[Default]}" echo -e "${idsCL[Yellow]}-------------------------------------------------------------${idsCL[Default]}"
echo "" echo ""
fi
if [ "$1" != "" ]; then if [ "$1" != "" ]; then
echo -en "${idsCL[LightCyan]}Checking for updates...${idsCL[Default]}" echo -en "${idsCL[LightCyan]}Checking for updates...${idsCL[Default]}"
echo "" echo ""