Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-03 19:48:18 -06:00
parent a443f38edc
commit 0673043142

View File

@@ -18,8 +18,7 @@ source /opt/idssys/nodemgmt/defaults.inc
# ========================================================= #
STATUS() {
echo -e "${idsCL[Yellow]} NodeMgmt - Galera/NGINX Node Management${idsCL[Default]} ${idsCL[DarkGray]}(ver-${VERS})${idsCL[Default]}"
echo ""
if [ ! -z ${LOCAL_SERVICES+x} ]; then
lip=$(/sbin/ip -o -4 addr list ens192 | awk '{print $4}' | cut -d/ -f1)
echo -e "${idsCL[Yellow]}-------------------------------------------------------------${idsCL[Default]}"
@@ -455,7 +454,7 @@ if [ ${action-x} ]; then
delsite) DELSITE;;
newsite) NEWSITE;;
update) ;;
status) echo ""; STATUS; GUI; exit 0;;
status) STATUS; GUI; exit 0;;
status-check) STATUS-CHECK;;
set-permissions) SET-PERMISSIONS;;
service) SERVICE;;