From eec4cad38c3084f950d2d689299c7c018ec4bd83 Mon Sep 17 00:00:00 2001 From: mack-a <57424792+mack-a@users.noreply.github.com> Date: Mon, 14 Sep 2020 14:32:30 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=84=9A=E6=9C=AC):=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E5=8D=B8=E8=BD=BD=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/install.sh b/install.sh index e03e9ea..d91c3c5 100644 --- a/install.sh +++ b/install.sh @@ -1433,25 +1433,27 @@ unInstall(){ handleNginx stop if [[ -z `ps -ef|grep -v grep|grep nginx` ]] then - echoContent green "停止Nginx成功\n" + echoContent green " ---> 停止Nginx成功" fi handleV2Ray stop rm -rf /etc/systemd/system/v2ray.service - echoContent red "删除V2Ray开机自启成功" + echoContent green " ---> 删除V2Ray开机自启完成" if [[ -d "/etc/v2ray-agent/tls" ]] && [[ ! -z `find /etc/v2ray-agent/tls/ -name "*.key"` ]] && [[ ! -z `find /etc/v2ray-agent/tls/ -name "*.crt"` ]] then mv /etc/v2ray-agent/tls /tmp if [[ ! -z `find /tmp/tls -name '*.key'` ]] then - echoContent green "备份证书成功,请注意留存。[/tmp/tls]" + echoContent yellow " ---> 备份证书成功,请注意留存。[/tmp/tls]" fi fi rm -rf /etc/v2ray-agent - echoContent green "卸载完成" + rm -rf /etc/nginx/conf.d/alone.conf + echoContent green " ---> 卸载V2Ray完成" + echoContent green " ---> 卸载完成" } # 检查错误 checkFail(){ @@ -1534,7 +1536,7 @@ menu(){ renewalTLS 1 ;; 10) - unInstall + unInstall 1 ;; esac exit 0;