|
@@ -5,12 +5,12 @@ export PATH
|
|
|
#=================================================
|
|
|
# System Required: CentOS 6+,Debian7+,Ubuntu12+
|
|
|
# Description: BBR+BBR魔改版+Lotserver
|
|
|
-# Version: 1.1.7
|
|
|
+# Version: 1.1.8
|
|
|
# Author: 千影
|
|
|
# Blog: https://www.94ish.me/
|
|
|
#=================================================
|
|
|
|
|
|
-sh_ver="1.1.7"
|
|
|
+sh_ver="1.1.8"
|
|
|
github="raw.githubusercontent.com/chiakge/Linux-NetSpeed/master"
|
|
|
|
|
|
Green_font_prefix="\033[32m" && Red_font_prefix="\033[31m" && Green_background_prefix="\033[42;37m" && Red_background_prefix="\033[41;37m" && Font_color_suffix="\033[0m"
|
|
@@ -176,6 +176,12 @@ startbbrmod_nanqinlang(){
|
|
|
#启用Lotserver
|
|
|
startlotserver(){
|
|
|
remove_all
|
|
|
+ if [[ "${release}" == "centos" ]]; then
|
|
|
+ yum install -y unzip
|
|
|
+ else
|
|
|
+ apt-get update
|
|
|
+ apt-get install -y unzip
|
|
|
+ fi
|
|
|
wget --no-check-certificate -O appex.sh https://raw.githubusercontent.com/0oVicero0/serverSpeeder_Install/master/appex.sh && chmod +x appex.sh && bash appex.sh install
|
|
|
rm -f appex.sh
|
|
|
memory=`cat /proc/meminfo |grep 'MemTotal' |awk -F : '{print $2}' |sed 's/^[ \t]*//g' | awk '{print $1}'`
|