Update nodemgmt-scripts.sh

This commit is contained in:
2023-11-15 08:19:48 -06:00
parent f7c14ab478
commit 96f7223aec

View File

@@ -507,6 +507,17 @@ UPDATE_DYNDNS(){
shift
done
if [ "${NM_DYNDNS_LOC[${LOCATION,,}]}" != "" ]; then
arr DYNDNS_HOSTS
IFS=,; hosts=(${NM_DYNDNS_LOC[${LOCATION,,}]}); unset IFS
for host in "${hosts[@]}"; do
arr_insert DYNDNS_HOSTS ${host}
done
echo "HERE1: ${DYNDNS_HOSTS[0]}"
for test in ${DYNDNS_HOSTS[@]}; do
echo "HERE2: $test"
done
echo
cw_spc=10
echo -e "Checking for DYNDNS update at '${idsCL[Green]}${LOCATION^^}${idsCL[Default]}'"