This commit is contained in:
2024-11-29 13:55:24 -06:00
parent f4897c4057
commit 6f1cb0eff6
2 changed files with 2 additions and 1 deletions

View File

@@ -356,6 +356,7 @@ NODEUPDATES() {
# [ "${RUN_NODE_TYPE}" == "nm" ] && NMCMD="" || NMCMD="ssh -tq -o ConnectTimeout=3 -o ConnectionAttempts=1 root@${NM_NODEMANAGER}"
# betacheck=$(BETACHECK)
#
# if [ "${2}" != "sync" ]; then
# c=0; spca=''; spc1=${cw}-25; until [ $c = ${spc1} ]; do spca="${spca} "; c=`expr $c + 1`; done
# echo -en "Updating Node-Manager[${NM_NODEMANAGER}]${spca} ~ ${idsCL[LightCyan]}NodeMGMT${idsCL[Default]} : "

2
run.sh
View File

@@ -12,7 +12,7 @@ source /opt/idssys/nodemgmt/defaults.inc
# if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]] && [ "${1}" != "status" ]; then
if [ "${1}" == "update" ] || [ "${1}" == "update-nodes" ]; then
if [ "${1}" == "update-nodes" ]; then
echo -e "${idsCL[LightGreen]}Updating Node-Manager${idsCL[Default]}"
echo -e "\n${idsCL[LightGreen]}Updating Node-Manager${idsCL[Default]}"
echo -e "${idsCL[LightGreen]}-------------------------------------------${idsCL[Default]}"
fi
if curl -m 3 -s --head --request GET https://git.schroedercity.com | grep "HTTP/2 200" > /dev/null; then