]> git.proxmox.com Git - mirror_acme.sh.git/blobdiff - dnsapi/dns_schlundtech.sh
fix format
[mirror_acme.sh.git] / dnsapi / dns_schlundtech.sh
index efb021ae60adf2d6ceaa1ffa2ed72380d3586ad9..399c50e027b24696f8e66f2d24a069419812f8d7 100644 (file)
@@ -10,9 +10,9 @@
 #     export SCHLUNDTECH_PASSWORD="password"
 #
 # Usage:
-#     acme.sh --issue --dns dns_autodns -d example.com
+#     acme.sh --issue --dns dns_schlundtech -d example.com
 
-AUTODNS_API="https://gateway.schlundtech.de"
+SCHLUNDTECH_API="https://gateway.schlundtech.de"
 
 # Arguments:
 #   txtdomain
@@ -23,7 +23,7 @@ dns_schlundtech_add() {
 
   SCHLUNDTECH_USER="${SCHLUNDTECH_USER:-$(_readaccountconf_mutable SCHLUNDTECH_USER)}"
   SCHLUNDTECH_PASSWORD="${SCHLUNDTECH_PASSWORD:-$(_readaccountconf_mutable SCHLUNDTECH_PASSWORD)}"
-  
+
   if [ -z "$SCHLUNDTECH_USER" ] || [ -z "$SCHLUNDTECH_PASSWORD" ]; then
     _err "You didn't specify schlundtech user and password."
     return 1
@@ -31,7 +31,7 @@ dns_schlundtech_add() {
 
   _saveaccountconf_mutable SCHLUNDTECH_USER "$SCHLUNDTECH_USER"
   _saveaccountconf_mutable SCHLUNDTECH_PASSWORD "$SCHLUNDTECH_PASSWORD"
-  
+
   _debug "First detect the root zone"
 
   if ! _get_autodns_zone "$fulldomain"; then
@@ -64,7 +64,7 @@ dns_schlundtech_rm() {
 
   SCHLUNDTECH_USER="${SCHLUNDTECH_USER:-$(_readaccountconf_mutable SCHLUNDTECH_USER)}"
   SCHLUNDTECH_PASSWORD="${SCHLUNDTECH_PASSWORD:-$(_readaccountconf_mutable SCHLUNDTECH_PASSWORD)}"
-  
+
   if [ -z "$SCHLUNDTECH_USER" ] || [ -z "$SCHLUNDTECH_PASSWORD" ]; then
     _err "You didn't specify schlundtech user and password."
     return 1
@@ -241,7 +241,7 @@ _autodns_api_call() {
 
   _debug request_data "$request_data"
 
-  autodns_response="$(_post "$request_data" "$AUTODNS_API")"
+  autodns_response="$(_post "$request_data" "$SCHLUNDTECH_API")"
   ret="$?"
 
   _debug autodns_response "$autodns_response"