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
54c0f015
Commit
54c0f015
authored
Oct 14, 2020
by
Ed Lynes
Browse files
Merge branch 'edgedns' into dev
parents
80e52c73
ea3e6dae
Changes
1
Show whitespace changes
Inline
Side-by-side
dnsapi/dns_edgedns.sh
View file @
54c0f015
...
@@ -359,11 +359,7 @@ _edgedns_eg_timestamp() {
...
@@ -359,11 +359,7 @@ _edgedns_eg_timestamp() {
}
}
_edgedns_new_nonce
()
{
_edgedns_new_nonce
()
{
_nonce
=
$(
uuidgen
-r
)
_ret
=
"
$?
"
if
[
"
$_ret
"
-ne
0
]
;
then
_nonce
=
$(
echo
"EDGEDNS
$(
_time
)
"
| _digest sha1 hex |
cut
-c
1-32
)
_nonce
=
$(
echo
"EDGEDNS
$(
_time
)
"
| _digest sha1 hex |
cut
-c
1-32
)
fi
_debug3
"_nonce"
"
$_nonce
"
_debug3
"_nonce"
"
$_nonce
"
}
}
...
...
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