From ebd4ea926f01fcbc81306bc95d48705641329873 Mon Sep 17 00:00:00 2001 From: 233boy <31657650+233boy@users.noreply.github.com> Date: Sat, 5 Feb 2022 12:13:52 +0800 Subject: [PATCH] del invaild opt --- v2ray.sh | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/v2ray.sh b/v2ray.sh index 7df3a91..5db582f 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.50" +_version="v3.51" cmd="apt-get" @@ -2294,11 +2294,7 @@ other() { echo echo -e "$yellow 1. $none安装 BBR" echo - echo -e "$yellow 2. $none安装 LotServer(锐速)" - echo - echo -e "$yellow 3. $none卸载 LotServer(锐速)" - echo - read -p "$(echo -e "请选择 [${magenta}1-3$none]:")" _opt + read -p "$(echo -e "请选择 [${magenta}1$none]:")" _opt if [[ -z $_opt ]]; then error else @@ -2307,14 +2303,6 @@ other() { install_bbr break ;; - 2) - install_lotserver - break - ;; - 3) - uninstall_lotserver - break - ;; *) error ;; @@ -2335,18 +2323,6 @@ install_bbr() { [[ ! $enable_bbr ]] && bash <(curl -s -L https://github.com/teddysun/across/raw/master/bbr.sh) fi } -install_lotserver() { - # https://moeclub.org/2017/03/08/14/ - wget --no-check-certificate -qO /tmp/appex.sh "https://raw.githubusercontent.com/0oVicero0/serverSpeeder_Install/master/appex.sh" - bash /tmp/appex.sh 'install' - rm -rf /tmp/appex.sh -} -uninstall_lotserver() { - # https://moeclub.org/2017/03/08/14/ - wget --no-check-certificate -qO /tmp/appex.sh "https://raw.githubusercontent.com/0oVicero0/serverSpeeder_Install/master/appex.sh" - bash /tmp/appex.sh 'uninstall' - rm -rf /tmp/appex.sh -} update() { while :; do