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
5aff5487
Commit
5aff5487
authored
Oct 14, 2020
by
Ed Lynes
Browse files
remove uuidgen
parent
ff8fe7e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_edgedns.sh
View file @
5aff5487
...
@@ -359,11 +359,7 @@ _edgedns_eg_timestamp() {
...
@@ -359,11 +359,7 @@ _edgedns_eg_timestamp() {
}
}
_edgedns_new_nonce
()
{
_edgedns_new_nonce
()
{
_nonce
=
$(
uuidgen
-r
)
_nonce
=
$(
echo
"EDGEDNS
$(
_time
)
"
| _digest sha1 hex |
cut
-c
1-32
)
_ret
=
"
$?
"
if
[
"
$_ret
"
-ne
0
]
;
then
_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