Closed navilg closed 4 years ago
Replace existing (below) method with source command to read variables from godaddyDDNS.properties file.
domain="$(grep -i domain "$properties_file"|tail -1|awk -F "=" '{print $2}')" #domain name name="$(grep -i name "$properties_file"|tail -1|awk -F "=" '{print $2}')" #sub-domain ttl="$(grep -i ttl "$properties_file"|tail -1|awk -F "=" '{print $2}')" key="$(grep -i key "$properties_file"|tail -1|awk -F "=" '{print $2}')" #godaddy developer key secret="$(grep -i secret "$properties_file"|tail -1|awk -F "=" '{print $2}')" #godaddy developer secret
Replace existing (below) method with source command to read variables from godaddyDDNS.properties file.