Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
562a4c05
Commit
562a4c05
authored
Feb 05, 2017
by
neilpang
Browse files
add note info if netcat-openbsd is required.
parent
b22b085b
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
562a4c05
...
...
@@ -61,6 +61,8 @@ DEFAULT_LOG_LEVEL="$LOG_LEVEL_1"
_DEBUG_WIKI
=
"https://github.com/Neilpang/acme.sh/wiki/How-to-debug-acme.sh"
_PREPARE_LINK
=
"https://github.com/Neilpang/acme.sh/wiki/Install-preparations"
__INTERACTIVE
=
""
if
[
-t
1
]
;
then
__INTERACTIVE
=
"1"
...
...
@@ -1684,6 +1686,14 @@ _startserver() {
_NC
=
"
$_NC
-6"
fi
if
[
"
$Le_Listen_V4$Le_Listen_V6$ncaddr
"
]
;
then
if
!
_contains
"
$nchelp
"
"OpenBSD"
;
then
_err
"The nc doesn't support '-4', '-6' or local-address, please install 'netcat-openbsd' and try again."
_err
"See
$(
__green
$_PREPARE_LINK
)
"
return
1
fi
fi
if
echo
"
$nchelp
"
|
grep
"
\-
q[ ,]"
>
/dev/null
;
then
_NC
=
"
$_NC
-q 1 -l
$ncaddr
"
else
...
...
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