diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index d8803045..97257a20 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -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]}'"