From a6a348b47648bc9e029e0547a6a37c732a0ed66a Mon Sep 17 00:00:00 2001 From: 233boy Date: Wed, 29 Aug 2018 12:51:47 +0800 Subject: [PATCH] [tips] v2ray command not found --- v2ray.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/v2ray.sh b/v2ray.sh index 7c806a5..104d3cc 100644 --- a/v2ray.sh +++ b/v2ray.sh @@ -10,7 +10,7 @@ none='\e[0m' # Root [[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1 -_version="v2.35" +_version="v2.36" cmd="apt-get" @@ -88,6 +88,7 @@ _v2ray_sh="/usr/local/sbin/v2ray" if [[ ! -f $_v2ray_sh ]]; then mv -f /usr/local/bin/v2ray $_v2ray_sh chmod +x $_v2ray_sh + echo -e "\n $yellow 警告: 请重新登录 SSH 以避免出现 v2ray 命令未找到的情况。$none \n" && exit 1 fi if [ $v2ray_pid ]; then