Browse Source

replace _read_conf() with _readaccountconf()

pull/2285/head
David Kerr 6 years ago committed by GitHub
parent
commit
2cb0b00e3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      dnsapi/dns_freedns.sh

3
dnsapi/dns_freedns.sh

@ -92,8 +92,7 @@ dns_freedns_rm() {
# Need to read cookie from conf file again in case new value set # Need to read cookie from conf file again in case new value set
# during login to FreeDNS when TXT record was created. # during login to FreeDNS when TXT record was created.
# acme.sh does not have a _readaccountconf() function FREEDNS_COOKIE="$(_readaccountconf "FREEDNS_COOKIE")"
FREEDNS_COOKIE="$(_read_conf "$ACCOUNT_CONF_PATH" "FREEDNS_COOKIE")"
_debug "FreeDNS login cookies: $FREEDNS_COOKIE" _debug "FreeDNS login cookies: $FREEDNS_COOKIE"
TXTdataid="$(_freedns_data_id "$fulldomain" "TXT")" TXTdataid="$(_freedns_data_id "$fulldomain" "TXT")"

Loading…
Cancel
Save