Browse Source

Update dns_schlundtech.sh

mod242 6 years ago
parent
commit
345d6c5687
1 changed files with 2 additions and 2 deletions
  1. 2 2
      dnsapi/dns_schlundtech.sh

+ 2 - 2
dnsapi/dns_schlundtech.sh

@@ -21,8 +21,8 @@ dns_schlundtech_add() {
   fulldomain="$1"
   fulldomain="$1"
   txtvalue="$2"
   txtvalue="$2"
 
 
-  SCHLUNDTECH_USER="${SCHLUNDTECH_USER:-$(_readaccountconf_mutable AUTODNS_USER)}"
-  SCHLUNDTECH_PASSWORD="${SCHLUNDTECH_PASSWORD:-$(_readaccountconf_mutable AUTODNS_PASSWORD)}"
+  SCHLUNDTECH_USER="${SCHLUNDTECH_USER:-$(_readaccountconf_mutable SCHLUNDTECH_USER)}"
+  SCHLUNDTECH_PASSWORD="${SCHLUNDTECH_PASSWORD:-$(_readaccountconf_mutable SCHLUNDTECH_PASSWORD)}"
   
   
   if [ -z "$SCHLUNDTECH_USER" ] || [ -z "$SCHLUNDTECH_PASSWORD" ]; then
   if [ -z "$SCHLUNDTECH_USER" ] || [ -z "$SCHLUNDTECH_PASSWORD" ]; then
     _err "You didn't specify schlundtech user and password."
     _err "You didn't specify schlundtech user and password."