From 34108b1fba08c6181681ea388084cc28ba446083 Mon Sep 17 00:00:00 2001 From: 233boy Date: Mon, 23 Apr 2018 06:32:46 +0800 Subject: [PATCH] [fix] load config issue --- tools/v1xx_to_v2xx.sh | 1 + v2ray.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/v1xx_to_v2xx.sh b/tools/v1xx_to_v2xx.sh index 64d96ec..e176984 100644 --- a/tools/v1xx_to_v2xx.sh +++ b/tools/v1xx_to_v2xx.sh @@ -1,4 +1,5 @@ #!/bin/bash +backup="/etc/v2ray/233blog_v2ray_backup.txt" v2ray_transport=$(sed -n '17p' $backup) v2ray_port=$(sed -n '19p' $backup) v2ray_id=$(sed -n '21p' $backup) diff --git a/v2ray.sh b/v2ray.sh index dce1905..63dec4e 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.1" +_version="v2.11" cmd="apt-get"