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
2ba10fcb
Unverified
Commit
2ba10fcb
authored
Jan 26, 2021
by
neil
Committed by
GitHub
Jan 26, 2021
Browse files
Merge pull request #3381 from dgasaway/patch-1
Change ipconfig.co to ifconfig.co
parents
cd336470
f49e8ec5
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_namecheap.sh
View file @
2ba10fcb
...
@@ -157,7 +157,7 @@ _namecheap_set_publicip() {
...
@@ -157,7 +157,7 @@ _namecheap_set_publicip() {
if
[
-z
"
$NAMECHEAP_SOURCEIP
"
]
;
then
if
[
-z
"
$NAMECHEAP_SOURCEIP
"
]
;
then
_err
"No Source IP specified for Namecheap API."
_err
"No Source IP specified for Namecheap API."
_err
"Use your public ip address or an url to retrieve it (e.g. https://i
p
config.co/ip) and export it as NAMECHEAP_SOURCEIP"
_err
"Use your public ip address or an url to retrieve it (e.g. https://i
f
config.co/ip) and export it as NAMECHEAP_SOURCEIP"
return
1
return
1
else
else
_saveaccountconf NAMECHEAP_SOURCEIP
"
$NAMECHEAP_SOURCEIP
"
_saveaccountconf NAMECHEAP_SOURCEIP
"
$NAMECHEAP_SOURCEIP
"
...
@@ -175,7 +175,7 @@ _namecheap_set_publicip() {
...
@@ -175,7 +175,7 @@ _namecheap_set_publicip() {
_publicip
=
$(
_get
"
$addr
"
)
_publicip
=
$(
_get
"
$addr
"
)
else
else
_err
"No Source IP specified for Namecheap API."
_err
"No Source IP specified for Namecheap API."
_err
"Use your public ip address or an url to retrieve it (e.g. https://i
p
config.co/ip) and export it as NAMECHEAP_SOURCEIP"
_err
"Use your public ip address or an url to retrieve it (e.g. https://i
f
config.co/ip) and export it as NAMECHEAP_SOURCEIP"
return
1
return
1
fi
fi
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