forked from mack-a/v2ray-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -513,7 +513,7 @@ installTools() { | |
|
||
if [[ ! -d "$HOME/.acme.sh" ]] || [[ -d "$HOME/.acme.sh" && -z $(find "$HOME/.acme.sh/acme.sh") ]]; then | ||
echoContent green " ---> 安装acme.sh" | ||
curl -s https://get.acme.sh | sh -s [email protected] >/etc/v2ray-agent/tls/acme.log 2>&1 | ||
curl -s https://get.acme.sh | sh -s >/etc/v2ray-agent/tls/acme.log 2>&1 | ||
if [[ ! -d "$HOME/.acme.sh" ]] || [[ -z $(find "$HOME/.acme.sh/acme.sh") ]]; then | ||
echoContent red " acme安装失败--->" | ||
tail -n 100 /etc/v2ray-agent/tls/acme.log | ||
|
@@ -792,9 +792,9 @@ installTLS() { | |
elif [[ -d "$HOME/.acme.sh" ]] && [[ ! -f "$HOME/.acme.sh/${tlsDomain}_ecc/${tlsDomain}.cer" || ! -f "$HOME/.acme.sh/${tlsDomain}_ecc/${tlsDomain}.key" ]]; then | ||
echoContent green " ---> 安装TLS证书" | ||
if [[ -n "${pingIPv6}" ]]; then | ||
sudo "$HOME/.acme.sh/acme.sh" --issue -d "${tlsDomain}" --standalone -k ec-256 --listen-v6 >> /etc/v2ray-agent/tls/acme.log | ||
sudo "$HOME/.acme.sh/acme.sh" --issue -d "${tlsDomain}" --standalone -k ec-256 --server letsencrypt --listen-v6 >> /etc/v2ray-agent/tls/acme.log | ||
else | ||
sudo "$HOME/.acme.sh/acme.sh" --issue -d "${tlsDomain}" --standalone -k ec-256 >> /etc/v2ray-agent/tls/acme.log | ||
sudo "$HOME/.acme.sh/acme.sh" --issue -d "${tlsDomain}" --standalone -k ec-256 --server letsencrypt >> /etc/v2ray-agent/tls/acme.log | ||
fi | ||
|
||
if [[ -d "$HOME/.acme.sh/${tlsDomain}_ecc" && -f "$HOME/.acme.sh/${tlsDomain}_ecc/${tlsDomain}.key" && -f "$HOME/.acme.sh/${tlsDomain}_ecc/${tlsDomain}.cer" ]]; then | ||
|
@@ -4074,7 +4074,7 @@ menu() { | |
cd "$HOME" || exit | ||
echoContent red "\n==============================================================" | ||
echoContent green "作者:mack-a" | ||
echoContent green "当前版本:v2.5.12" | ||
echoContent green "当前版本:v2.5.13" | ||
echoContent green "Github:https://github.com/mack-a/v2ray-agent" | ||
echoContent green "描述:八合一共存脚本\c" | ||
showInstallStatus | ||
|