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
f3682f0e
Commit
f3682f0e
authored
Apr 17, 2021
by
neilpang
Browse files
fix format
parent
cfbc2948
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_one.sh
View file @
f3682f0e
...
...
@@ -5,7 +5,6 @@
# export ONECOM_User="username"
# export ONECOM_Password="password"
dns_one_add
()
{
fulldomain
=
$1
txtvalue
=
$2
...
...
@@ -24,11 +23,9 @@ dns_one_add() {
subdomain
=
"
${
_sub_domain
}
"
maindomain
=
${
_domain
}
_debug subdomain
"
$subdomain
"
_debug maindomain
"
$maindomain
"
#Check if the TXT exists
_dns_one_getrecord
"TXT"
"
$subdomain
"
"
$txtvalue
"
if
[
-n
"
$id
"
]
;
then
...
...
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