Update nodemgmt-scripts.sh
This commit is contained in:
@@ -507,6 +507,17 @@ UPDATE_DYNDNS(){
|
|||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
if [ "${NM_DYNDNS_LOC[${LOCATION,,}]}" != "" ]; then
|
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
|
echo
|
||||||
cw_spc=10
|
cw_spc=10
|
||||||
echo -e "Checking for DYNDNS update at '${idsCL[Green]}${LOCATION^^}${idsCL[Default]}'"
|
echo -e "Checking for DYNDNS update at '${idsCL[Green]}${LOCATION^^}${idsCL[Default]}'"
|
||||||
|
|||||||
Reference in New Issue
Block a user