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
239d5342
Commit
239d5342
authored
Dec 12, 2019
by
Martin Kammerlander
Browse files
Merge remote-tracking branch 'upstream/dev' into all-inkl-kasserver-dns-script
parents
3ccac629
ec7889df
Changes
2
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
239d5342
...
@@ -4082,7 +4082,7 @@ $_authorizations_map"
...
@@ -4082,7 +4082,7 @@ $_authorizations_map"
if
[
"
$ACME_VERSION
"
=
"2"
]
;
then
if
[
"
$ACME_VERSION
"
=
"2"
]
;
then
_idn_d
=
"
$(
_idn
"
$d
"
)
"
_idn_d
=
"
$(
_idn
"
$d
"
)
"
_candindates
=
"
$(
echo
"
$_authorizations_map
"
|
grep
"^
$_idn_d
,"
)
"
_candindates
=
"
$(
echo
"
$_authorizations_map
"
|
grep
-i
"^
$_idn_d
,"
)
"
_debug2 _candindates
"
$_candindates
"
_debug2 _candindates
"
$_candindates
"
if
[
"
$(
echo
"
$_candindates
"
|
wc
-l
)
"
-gt
1
]
;
then
if
[
"
$(
echo
"
$_candindates
"
|
wc
-l
)
"
-gt
1
]
;
then
for
_can
in
$_candindates
;
do
for
_can
in
$_candindates
;
do
...
...
dnsapi/dns_unoeuro.sh
View file @
239d5342
...
@@ -52,7 +52,7 @@ dns_unoeuro_add() {
...
@@ -52,7 +52,7 @@ dns_unoeuro_add() {
fi
fi
_info
"Adding record"
_info
"Adding record"
if
_uno_rest POST
"my/products/
$h
/dns/records"
"{
\"
name
\"
:
\"
$fulldomain
\"
,
\"
type
\"
:
\"
TXT
\"
,
\"
data
\"
:
\"
$txtvalue
\"
,
\"
ttl
\"
:120}"
;
then
if
_uno_rest POST
"my/products/
$h
/dns/records"
"{
\"
name
\"
:
\"
$fulldomain
\"
,
\"
type
\"
:
\"
TXT
\"
,
\"
data
\"
:
\"
$txtvalue
\"
,
\"
ttl
\"
:120
,
\"
priority
\"
:0
}"
;
then
if
_contains
"
$response
"
"
\"
status
\"
: 200"
>
/dev/null
;
then
if
_contains
"
$response
"
"
\"
status
\"
: 200"
>
/dev/null
;
then
_info
"Added, OK"
_info
"Added, OK"
return
0
return
0
...
...
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