From 78dd1871918766eff6823a7231c615b72c036442 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 6 Aug 2023 18:31:53 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index cb4ae682..cf00004c 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -374,16 +374,16 @@ NODEUPDATE() { # echo -e "${idsCL[Green]}Updated${idsCL[Default]}" else - echo -en " ~ ${idsCL[LightCyan]}Sync Shared Defaults:${idsCL[Default]} : " + echo -en " ~ ${idsCL[LightCyan]}Sync Shared Nodemgmt Defaults${idsCL[Default]} : " if ssh -tq root@${nip} [[ ! -f ${NM_FOLDER}/conf/defaults.local.inc ]] || ssh -tq root@${nip} [[ ! -f ${NM_FOLDER}/conf/ssl-domain-checks.conf ]] || [ ${nmdiv} -ne $(ssh -tq root@${nip} ls -l --time-style=+%s ${NM_FOLDER}/conf/defaults.local.inc | cut -d ' ' -f 6) ] || [ ${nmsdc} -ne $(ssh -tq root@${nip} ls -l --time-style=+%s ${NM_FOLDER}/conf/ssl-domain-checks.conf | cut -d ' ' -f 6) ] ; then ssh -tq root@${nmip} rsync -az ${NM_FOLDER}/conf/defaults.local.inc ${NM_FOLDER}/conf/ssl-domain-checks.conf root@${nip}:${NM_FOLDER}/ >/dev/null 2>&1 - echo -e "${idsCL[Green]}NodeMgmt Config Files Synced${idsCL[Default]}" + echo -e "${idsCL[Green]}Files Synced${idsCL[Default]}" else - echo -e "${idsCL[Green]}NodeMgmt Config Files Already Synced${idsCL[Default]}" + echo -e "${idsCL[Green]}Files Already Synced${idsCL[Default]}" fi fi