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"