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
b29e21ef
Unverified
Commit
b29e21ef
authored
Oct 17, 2018
by
neil
Committed by
GitHub
Oct 17, 2018
Browse files
Merge pull request #1881 from ephen/patch-1
cloudxns.net
parents
6a81b0f8
9f6f721a
Changes
1
Show whitespace changes
Inline
Side-by-side
dnsapi/dns_cx.sh
View file @
b29e21ef
#!/usr/bin/env sh
#!/usr/bin/env sh
# Cloud
xns.com
Domain api
# Cloud
XNS
Domain api
#
#
#CX_Key="1234"
#CX_Key="1234"
#
#
...
@@ -19,7 +19,7 @@ dns_cx_add() {
...
@@ -19,7 +19,7 @@ dns_cx_add() {
if
[
-z
"
$CX_Key
"
]
||
[
-z
"
$CX_Secret
"
]
;
then
if
[
-z
"
$CX_Key
"
]
||
[
-z
"
$CX_Secret
"
]
;
then
CX_Key
=
""
CX_Key
=
""
CX_Secret
=
""
CX_Secret
=
""
_err
"You don't specify cloudxns.
com
api key or secret yet."
_err
"You don't specify cloudxns.
net
api key or secret yet."
_err
"Please create you key and try again."
_err
"Please create you key and try again."
return
1
return
1
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