From bf91aacb4f462403e4033492d4ddaebc45e72ad7 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 14 Nov 2023 15:39:38 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 2f24f21a..4a2b4be8 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -499,7 +499,6 @@ ADD_LOGROTATE_CRONTAB(){ } UPDATE_DYNDNS(){ - echo TESTMODE=0; FORCE=0; while [ $# -gt 0 ]; do case "$1" in @@ -519,6 +518,7 @@ UPDATE_DYNDNS(){ shift done if [ "${LOCATION}" == "mainsite" ] || [ "${LOCATION}" == "offsite" ] || [ "${LOCATION}" == "kyle" ]; then + echo if [ "${NM_DYNUSER}" == "" ] || [ "${NM_DYNPASS}" == "" ]; then echo "Missing DYNDNS username or password (NM_DYNUSER=${NM_DYNUSER}) (NM_DYNPASS=${NM_DYNPASS})" SENDNOTICE "${LOCATION^^} DYNDNS ERROR" "Missing DYNDNS username or password (NM_DYNUSER=${NM_DYNUSER}) (NM_DYNPASS=${NM_DYNPASS})" 1