diff --git a/ipv64-dns-challenge.sh b/ipv64-dns-challenge.sh index 47902de..8c19ba1 100755 --- a/ipv64-dns-challenge.sh +++ b/ipv64-dns-challenge.sh @@ -43,7 +43,7 @@ case "$1" in praefix_pl="praefix=$praefix" type_pl="type=TXT" content_pl="content=$3" - echo 'curl -s -X POST -d "'"$domain_pl"'" -d "'"$praefix_pl"'" -d "'"$type_pl"'" -d "'"$content_pl"'" -H "'"\$auth_h"'" https://ipv64.net/api' + curl -s -X POST -d "$domain_pl" -d "$praefix_pl" -d "$type_pl" -d "$content_pl" -H "$auth_h" https://ipv64.net/api ;; "cleanup") full_domain=$2 @@ -55,7 +55,7 @@ case "$1" in praefix_pl="praefix=$praefix" type_pl="type=TXT" content_pl="content=$3" - echo 'curl -s -X DELETE -d "'"$domain_pl"'" -d "'"$praefix_pl"'" -d "'"$type_pl"'" -d "'"$content_pl"'" -H "'"\$auth_h"'" https://ipv64.net/api' + curl -s -X DELETE -d "$domain_pl" -d "$praefix_pl" -d "$type_pl" -d "$content_pl" -H "$auth_h" https://ipv64.net/api ;; *) echo "OOPS"