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
309bec47
Commit
309bec47
authored
Aug 22, 2017
by
neilpang
Browse files
add warning for dns manual mode
parent
d36440a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
309bec47
...
...
@@ -100,6 +100,10 @@ _PREPARE_LINK="https://github.com/Neilpang/acme.sh/wiki/Install-preparations"
_STATELESS_WIKI
=
"https://github.com/Neilpang/acme.sh/wiki/Stateless-Mode"
_DNS_MANUAL_ERR
=
"The dns manual mode can not renew automatically, you must issue it again manually. You'd better use the other modes instead."
_DNS_MANUAL_WARN
=
"It seems that you are using dns manual mode. please take care:
$_DNS_MANUAL_ERR
"
__INTERACTIVE
=
""
if
[
-t
1
]
;
then
__INTERACTIVE
=
"1"
...
...
@@ -3046,6 +3050,10 @@ _on_issue_err() {
)
fi
if
[
"
$IS_RENEW
"
=
"1"
]
&&
_hasfield
"
$Le_Webroot
"
"dns"
;
then
_err
"
$_DNS_MANUAL_ERR
"
fi
if
[
"
$DEBUG
"
]
&&
[
"
$DEBUG
"
-gt
"0"
]
;
then
_debug
"
$(
_dlg_versions
)
"
fi
...
...
@@ -3078,6 +3086,10 @@ _on_issue_success() {
fi
fi
if
_hasfield
"
$Le_Webroot
"
"dns"
;
then
_err
"
$_DNS_MANUAL_WARN
"
fi
}
updateaccount
()
{
...
...
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