Update run.sh
This commit is contained in:
1
run.sh
1
run.sh
@@ -11,6 +11,7 @@ source /opt/idssys/nodemgmt/defaults.inc
|
||||
|
||||
# if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]] && [ "${1}" != "status" ]; then
|
||||
if [ "${1}" == "update" ] || [ "${1}" == "update-nodes" ]; then
|
||||
echo -e "Updating Node-Manager[${NM_NODEMANAGER}]${spca} ~ ${idsCL[LightCyan]}NodeMGMT${idsCL[Default]}"
|
||||
if curl -m 3 -s --head --request GET https://git.schroedercity.com | grep "HTTP/2 200" > /dev/null; then
|
||||
if [ "${2}" != "q" ]; then
|
||||
echo -en "${idsCL[LightCyan]}Checking for updates...${idsCL[Default]}"
|
||||
|
||||
Reference in New Issue
Block a user