From 9b158e47fc519637c2c2186fd3cf283180e61e8d Mon Sep 17 00:00:00 2001 From: 233boy <31657650+233boy@users.noreply.github.com> Date: Fri, 3 Jun 2022 21:55:24 +0800 Subject: [PATCH] fix #881 --- src/socks.sh | 4 ++-- v2ray.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/socks.sh b/src/socks.sh index 08268fe..b1dffa3 100644 --- a/src/socks.sh +++ b/src/socks.sh @@ -90,7 +90,7 @@ _socks_ask() { socks_user_config socks_pass_config pause - open_port $new_socks_port + # open_port $new_socks_port backup_config +socks socks_port=$new_socks_port socks_username=$new_socks_username @@ -125,7 +125,7 @@ disable_socks() { echo pause backup_config -socks - del_port $socks_port + # del_port $socks_port socks='' config echo diff --git a/v2ray.sh b/v2ray.sh index 2608381..a82c7e7 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="v3.55" +_version="v3.56" cmd="apt-get"