Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
142ca58d
Commit
142ca58d
authored
Mar 07, 2020
by
ThiloGa
Browse files
removed some unused Vars
parent
3b01bf7b
Changes
2
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
142ca58d
...
...
@@ -48,7 +48,6 @@ LOCAL_ANY_ADDRESS="0.0.0.0"
DEFAULT_RENEW=60
NO_VALUE="no"
W_DNS="dns"
...
...
dnsapi/dns_nm.sh
View file @
142ca58d
...
...
@@ -37,7 +37,7 @@ dns_nm_add() {
erg
=
"
$(
_get
"
$get
"
)
"
if
[
"
$?
"
!=
"0"
]
;
then
_err
"error A
uto
$zone
TXT:
$txt_value
"
_err
"error A
ding
$zone
TXT:
$txt_value
"
_err
"Error
$?
"
return
1
fi
...
...
@@ -45,7 +45,7 @@ dns_nm_add() {
if
_contains
"
$erg
"
"Success"
;
then
_info
"Success, TXT Added, OK"
else
_err
"error A
uto
$zone
TXT:
$txt_value
erg:
$erg
"
_err
"error A
dding
$zone
TXT:
$txt_value
erg:
$erg
"
return
1
fi
...
...
@@ -71,7 +71,7 @@ dns_nm_rm() {
get
=
"https://namemaster.de/api/api.php?User=
$NM_user
&Password=
$NM_md5
&Antwort=csv&Int=0&Typ=TXT&Zone=
$zone
&hostname=
$fulldomain
&TXT=
$txt_value
&Action=Delete_IN&TTL=0"
erg
=
"
$(
_get
"
$get
"
)
"
if
[
"
$?
"
!=
"0"
]
;
then
_err
"error
$action
$zone
TXT:
$txt_value
"
_err
"error
Deleting
$zone
TXT:
$txt_value
"
_err
"Error
$?
"
return
1
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment