From 7c5fb6a38b4eb43d809143df7ea773dd9cfafa5d Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 24 Jun 2023 20:05:40 -0500 Subject: [PATCH] update --- defaults.inc | 2 +- nodemgmt-scripts.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults.inc b/defaults.inc index 9d5e7861..f3d86932 100755 --- a/defaults.inc +++ b/defaults.inc @@ -43,7 +43,7 @@ WEB_SINGLESRVR_IP=10.10.1.20 LB_NGINX_SITES='/opt/lb-data/nginx/sites-enabled' WEB_NGINX_SITES='/mnt/web-data/nginx/sites-enabled' -noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck ' +noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns ' CERT_DAEMON='/snap/bin/certbot' FOLDER=/opt/idssys/nodemgmt SCRIPT=${FOLDER}/nodemgmt-scripts.sh diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 059d8097..d470147c 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1225,7 +1225,7 @@ GUI(){ done } # if [ ${action-x} ]; then - if [[ "${noheader}" != *" ${action} "* ]] && [[ "${noheader}" != *" ${2} "* ]] && [ "${2}" != "q" ] && [ "${1}" != "gui" ] && [ "${1}" != "nightlyrenew" ] && [ "${1}" != "update" ]; then + if [[ "${noheader}" != *" ${action} "* ]] && [[ "${noheader}" != *" ${2} "* ]] && [ "${2}" != "q" ] && [ "${3}" != "q" ] && [ "${1}" != "gui" ] && [ "${1}" != "nightlyrenew" ] && [ "${1}" != "update" ]; then DISP_HEADER fi case $action in