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
f8532ba8
Commit
f8532ba8
authored
Feb 08, 2022
by
peter
Browse files
removed unused variable
parent
fac4e151
Changes
1
Show whitespace changes
Inline
Side-by-side
dnsapi/dns_curanet.sh
View file @
f8532ba8
...
@@ -109,7 +109,6 @@ gettoken() {
...
@@ -109,7 +109,6 @@ gettoken() {
#_acme-challenge.www.domain.com
#_acme-challenge.www.domain.com
#returns
#returns
# _sub_domain=_acme-challenge.www
# _domain=domain.com
# _domain=domain.com
# _domain_id=sdjkglgdfewsdfg
# _domain_id=sdjkglgdfewsdfg
_get_root
()
{
_get_root
()
{
...
@@ -131,7 +130,6 @@ _get_root() {
...
@@ -131,7 +130,6 @@ _get_root() {
response
=
"
$(
_get
"
$CURANET_REST_URL
/
$h
/Records"
""
""
)
"
response
=
"
$(
_get
"
$CURANET_REST_URL
/
$h
/Records"
""
""
)
"
if
[
!
"
$(
echo
"
$response
"
| _egrep_o
"Entity not found"
)
"
]
;
then
if
[
!
"
$(
echo
"
$response
"
| _egrep_o
"Entity not found"
)
"
]
;
then
_sub_domain
=
$(
printf
"%s"
"
$domain
"
|
cut
-d
.
-f
1-
$p
)
_domain
=
$h
_domain
=
$h
return
0
return
0
fi
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