This commit is contained in:
2024-11-29 13:48:42 -06:00
parent f83d8ce917
commit 8e66e59628
3 changed files with 11 additions and 11 deletions

2
run.sh
View File

@@ -10,7 +10,7 @@ source /opt/idssys/nodemgmt/conf/settings.conf
source /opt/idssys/nodemgmt/defaults.inc
# if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]] && [ "${1}" != "status" ]; then
if [ "${1}" == "update" ]; then
if [ "${1}" == "update" ] || [ "${1}" == "update-nodes" ]; then
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]}"