From 707fd51d197cd8f2f9d9c73363e47d080178b3e5 Mon Sep 17 00:00:00 2001 From: wulabing Date: Thu, 30 Jan 2020 13:05:15 +0800 Subject: [PATCH] =?UTF-8?q?1.0.4=20=E4=BC=98=E5=8C=96=20=E8=AF=81=E4=B9=A6?= =?UTF-8?q?=E5=AD=98=E5=9C=A8=E5=88=A4=E6=96=AD=E9=80=BB=E8=BE=91=20?= =?UTF-8?q?=E5=9B=9B=E5=90=88=E4=B8=80=E8=84=9A=E6=9C=AC=20bbrplus=20?= =?UTF-8?q?=E5=86=85=E6=A0=B8=E7=89=88=E6=9C=AC=E6=9B=B4=E6=96=B0=E8=87=B3?= =?UTF-8?q?4.14.16?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 62e21c5..9e90a6d 100644 --- a/install.sh +++ b/install.sh @@ -1,5 +1,6 @@ #!/bin/bash +cd $(cd "$(dirname "$0")"; pwd) #==================================================== # System Request:Debian 9+/Ubuntu 18.04+/Centos 7+ # Author: wulabing @@ -600,9 +601,9 @@ show_information(){ cat ${v2ray_info_file} } ssl_judge_and_install(){ - if [[ -f "/data/v2ray.key" && -f "/data/v2ray.crt" ]];then - echo "证书文件已存在" - elif [[ -f "~/.acme.sh/${domain}_ecc/${domain}.key" && -f "~/.acme.sh/${domain}_ecc/${domain}.cer" ]];then +# if [[ -f "/data/v2ray.key" && -f "/data/v2ray.crt" ]];then +# echo "证书文件已存在" + if [[ -f "~/.acme.sh/${domain}_ecc/${domain}.key" && -f "~/.acme.sh/${domain}_ecc/${domain}.cer" ]];then echo "证书文件已存在" ~/.acme.sh/acme.sh --installcert -d ${domain} --fullchainpath /data/v2ray.crt --keypath /data/v2ray.key --ecc judge "证书应用" @@ -668,7 +669,7 @@ ssl_update_manuel(){ [ -f ${amce_sh_file} ] && "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" || echo -e "${RedBG}证书签发工具不存在,请确认你是否使用了自己的证书${Font}" } bbr_boost_sh(){ - wget -N --no-check-certificate https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh && chmod +x tcp.sh && bash tcp.sh + wget -N --no-check-certificate https://raw.githubusercontent.com/wulabing/Linux-NetSpeed/master/tcp.sh && chmod +x tcp.sh && bash tcp.sh } mtproxy_sh(){ wget -N --no-check-certificate https://github.com/whunt1/onekeymakemtg/raw/master/mtproxy_go.sh && chmod +x mtproxy_go.sh && bash mtproxy_go.sh