nach erfolgreichem trockentest produktiv

This commit is contained in:
Czechman 2023-01-10 01:58:06 +01:00
parent c560692104
commit 11ddfaa586
1 changed files with 2 additions and 2 deletions

View File

@ -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"