mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-20 05:11:43 +00:00
World4You shellcheck cleaning
This commit is contained in:
parent
b7e6d98647
commit
3c309df6dd
@ -27,8 +27,6 @@ dns_world4you_add() {
|
|||||||
form=$(_get "$WORLD4YOU_API/dashboard/paketuebersicht")
|
form=$(_get "$WORLD4YOU_API/dashboard/paketuebersicht")
|
||||||
_get_paketnr "$fqdn" "$form"
|
_get_paketnr "$fqdn" "$form"
|
||||||
paketnr="$PAKETNR"
|
paketnr="$PAKETNR"
|
||||||
tld="$TLD"
|
|
||||||
record="$RECORD"
|
|
||||||
if [ -z "$paketnr" ]; then
|
if [ -z "$paketnr" ]; then
|
||||||
_err "Unable to parse paketnr"
|
_err "Unable to parse paketnr"
|
||||||
return 3
|
return 3
|
||||||
@ -47,7 +45,7 @@ dns_world4you_add() {
|
|||||||
|
|
||||||
_resethttp
|
_resethttp
|
||||||
export ACME_HTTP_NO_REDIRECTS=1
|
export ACME_HTTP_NO_REDIRECTS=1
|
||||||
body="AddDnsRecordForm[name]=$record&AddDnsRecordForm[dnsType][type]=TXT&\
|
body="AddDnsRecordForm[name]=$RECORD&AddDnsRecordForm[dnsType][type]=TXT&\
|
||||||
AddDnsRecordForm[value]=$value&AddDnsRecordForm[aktivPaket]=$paketnr&AddDnsRecordForm[uniqueFormIdDP]=$formiddp&\
|
AddDnsRecordForm[value]=$value&AddDnsRecordForm[aktivPaket]=$paketnr&AddDnsRecordForm[uniqueFormIdDP]=$formiddp&\
|
||||||
AddDnsRecordForm[uniqueFormIdTTL]=$formidttl&AddDnsRecordForm[_token]=$form_token"
|
AddDnsRecordForm[uniqueFormIdTTL]=$formidttl&AddDnsRecordForm[_token]=$form_token"
|
||||||
_info "Adding record..."
|
_info "Adding record..."
|
||||||
@ -79,8 +77,6 @@ dns_world4you_rm() {
|
|||||||
form=$(_get "$WORLD4YOU_API/dashboard/paketuebersicht")
|
form=$(_get "$WORLD4YOU_API/dashboard/paketuebersicht")
|
||||||
_get_paketnr "$fqdn" "$form"
|
_get_paketnr "$fqdn" "$form"
|
||||||
paketnr="$PAKETNR"
|
paketnr="$PAKETNR"
|
||||||
tld="$TLD"
|
|
||||||
record="$RECORD"
|
|
||||||
if [ -z "$paketnr" ]; then
|
if [ -z "$paketnr" ]; then
|
||||||
_err "Unable to parse paketnr"
|
_err "Unable to parse paketnr"
|
||||||
return 3
|
return 3
|
||||||
|
Loading…
Reference in New Issue
Block a user