Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ylx2016 authored Nov 23, 2024
1 parent ec1a13e commit c81e6d4
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 15 deletions.
26 changes: 18 additions & 8 deletions tcp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export PATH
#=================================================
# System Required: CentOS 7/8,Debian/ubuntu,oraclelinux
# Description: BBR+BBRplus+Lotserver
# Version: 100.0.2.9
# Version: 100.0.2.10
# Author: 千影,cx9208,YLX
# 更新内容及反馈: https://blog.ylx.me/archives/783.html
#=================================================
Expand All @@ -15,7 +15,7 @@ export PATH
# SKYBLUE='\033[0;36m'
# PLAIN='\033[0m'

sh_ver="100.0.2.9"
sh_ver="100.0.2.10"
github="raw.githubusercontent.com/ylx2016/Linux-NetSpeed/master"

imgurl=""
Expand Down Expand Up @@ -56,8 +56,8 @@ check_github() {
check_domain "https://github.com"

if [ "$github_network" -eq 0 ]; then
echo -e "${Error}github网络访问受限,将影响内核的安装以及脚本的检查更新,5秒后继续运行脚本"
sleep 5
echo -e "${Error}github网络访问受限,将影响内核的安装以及脚本的检查更新,1秒后继续运行脚本"
sleep 1
else
# 所有域名均可访问,打印成功提示
echo "${Green_font_prefix}github可访问${Font_color_suffix},继续执行脚本..."
Expand Down Expand Up @@ -1243,6 +1243,14 @@ gotodd() {
#wget -qO ~/Network-Reinstall-System-Modify.sh 'https://github.com/ylx2016/reinstall/raw/master/Network-Reinstall-System-Modify.sh' && chmod a+x ~/Network-Reinstall-System-Modify.sh && bash ~/Network-Reinstall-System-Modify.sh -UI_Options
}

#切换到检查当前IP质量/媒体解锁/邮箱通信脚本
gotoipcheck() {
clear
sleep 1.5
bash <(wget -qO- https://raw.githubusercontent.com/xykt/IPQuality/main/ip.sh)
#bash <(wget -qO- https://IP.Check.Place)
}

#禁用IPv6
closeipv6() {
clear
Expand Down Expand Up @@ -1290,10 +1298,9 @@ start_menu() {
${Green_font_prefix}1.${Font_color_suffix} 安装 BBR原版内核
${Green_font_prefix}2.${Font_color_suffix} 安装 BBRplus版内核 ${Green_font_prefix}5.${Font_color_suffix} 安装 BBRplus新版内核
${Green_font_prefix}3.${Font_color_suffix} 安装 Lotserver(锐速)内核
${Green_font_prefix}11.${Font_color_suffix} 使用BBR+FQ加速 ${Green_font_prefix}12.${Font_color_suffix} 使用BBR+FQ_PIE加速
${Green_font_prefix}13.${Font_color_suffix} 使用BBR+CAKE加速
${Green_font_prefix}14.${Font_color_suffix} 使用BBR2+FQ加速 ${Green_font_prefix}15.${Font_color_suffix} 使用BBR2+FQ_PIE加速
${Green_font_prefix}16.${Font_color_suffix} 使用BBR2+CAKE加速
${Green_font_prefix}11.${Font_color_suffix} 使用BBR+FQ加速 ${Green_font_prefix}12.${Font_color_suffix} 使用BBR+FQ_PIE加速
${Green_font_prefix}13.${Font_color_suffix} 使用BBR+CAKE加速 ${Green_font_prefix}14.${Font_color_suffix} 使用BBR2+FQ加速
${Green_font_prefix}15.${Font_color_suffix} 使用BBR2+FQ_PIE加速 ${Green_font_prefix}16.${Font_color_suffix} 使用BBR2+CAKE加速
${Green_font_prefix}17.${Font_color_suffix} 开启ECN ${Green_font_prefix}18.${Font_color_suffix} 关闭ECN
${Green_font_prefix}19.${Font_color_suffix} 使用BBRplus+FQ版加速
${Green_font_prefix}20.${Font_color_suffix} 使用Lotserver(锐速)加速
Expand Down Expand Up @@ -1335,6 +1342,9 @@ start_menu() {
10)
gotodd
;;
60)
gotoipcheck
;;
11)
startbbrfq
;;
Expand Down
25 changes: 18 additions & 7 deletions tcpx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export PATH
#=================================================
# System Required: CentOS 7/8,Debian/ubuntu,oraclelinux
# Description: BBR+BBRplus+Lotserver
# Version: 100.0.2.9
# Version: 100.0.2.10
# Author: 千影,cx9208,YLX
# 更新内容及反馈: https://blog.ylx.me/archives/783.html
#=================================================
Expand All @@ -15,7 +15,7 @@ export PATH
# SKYBLUE='\033[0;36m'
# PLAIN='\033[0m'

sh_ver="100.0.2.9"
sh_ver="100.0.2.10"
github="raw.githubusercontent.com/ylx2016/Linux-NetSpeed/master"

imgurl=""
Expand Down Expand Up @@ -361,8 +361,8 @@ check_github() {
check_domain "https://github.com"

if [ "$github_network" -eq 0 ]; then
echo -e "${Error}github网络访问受限,将影响内核的安装以及脚本的检查更新,5秒后继续运行脚本"
sleep 5
echo -e "${Error}github网络访问受限,将影响内核的安装以及脚本的检查更新,1秒后继续运行脚本"
sleep 1
else
# 所有域名均可访问,打印成功提示
echo "${Green_font_prefix}github可访问${Font_color_suffix},继续执行脚本..."
Expand Down Expand Up @@ -1252,6 +1252,14 @@ gotodd() {
#wget -qO ~/Network-Reinstall-System-Modify.sh 'https://github.com/ylx2016/reinstall/raw/master/Network-Reinstall-System-Modify.sh' && chmod a+x ~/Network-Reinstall-System-Modify.sh && bash ~/Network-Reinstall-System-Modify.sh -UI_Options
}

#切换到检查当前IP质量/媒体解锁/邮箱通信脚本
gotoipcheck() {
clear
sleep 1.5
bash <(wget -qO- https://raw.githubusercontent.com/xykt/IPQuality/main/ip.sh)
#bash <(wget -qO- https://IP.Check.Place)
}

#禁用IPv6
closeipv6() {
clear
Expand Down Expand Up @@ -1296,15 +1304,15 @@ start_menu() {
echo && echo -e " TCP加速 一键安装管理脚本 ${Red_font_prefix}[v${sh_ver}] 不卸内核${Font_color_suffix} from blog.ylx.me 母鸡慎用
${Green_font_prefix}0.${Font_color_suffix} 升级脚本
${Green_font_prefix}9.${Font_color_suffix} 切换到卸载内核版本 ${Green_font_prefix}10.${Font_color_suffix} 切换到一键DD系统脚本
${Green_font_prefix}60.${Font_color_suffix} 切换到检查当前IP质量/媒体解锁/邮箱通信脚本
${Green_font_prefix}1.${Font_color_suffix} 安装 BBR原版内核 ${Green_font_prefix}7.${Font_color_suffix} 安装 Zen官方版内核
${Green_font_prefix}2.${Font_color_suffix} 安装 BBRplus版内核 ${Green_font_prefix}5.${Font_color_suffix} 安装 BBRplus新版内核
${Green_font_prefix}3.${Font_color_suffix} 安装 Lotserver(锐速)内核 ${Green_font_prefix}36.${Font_color_suffix} 安装 XANMOD官方内核(EDGE)
${Green_font_prefix}30.${Font_color_suffix} 安装 官方稳定内核 ${Green_font_prefix}31.${Font_color_suffix} 安装 官方最新内核 backports/elrepo
${Green_font_prefix}32.${Font_color_suffix} 安装 XANMOD官方内核(main) ${Green_font_prefix}33.${Font_color_suffix} 安装 XANMOD官方内核(LTS)
${Green_font_prefix}11.${Font_color_suffix} 使用BBR+FQ加速 ${Green_font_prefix}12.${Font_color_suffix} 使用BBR+FQ_PIE加速
${Green_font_prefix}13.${Font_color_suffix} 使用BBR+CAKE加速
${Green_font_prefix}14.${Font_color_suffix} 使用BBR2+FQ加速 ${Green_font_prefix}15.${Font_color_suffix} 使用BBR2+FQ_PIE加速
${Green_font_prefix}16.${Font_color_suffix} 使用BBR2+CAKE加速
${Green_font_prefix}13.${Font_color_suffix} 使用BBR+CAKE加速 ${Green_font_prefix}14.${Font_color_suffix} 使用BBR2+FQ加速
${Green_font_prefix}15.${Font_color_suffix} 使用BBR2+FQ_PIE加速 ${Green_font_prefix}16.${Font_color_suffix} 使用BBR2+CAKE加速
${Green_font_prefix}17.${Font_color_suffix} 开启ECN ${Green_font_prefix}18.${Font_color_suffix} 关闭ECN
${Green_font_prefix}19.${Font_color_suffix} 使用BBRplus+FQ版加速 ${Green_font_prefix}20.${Font_color_suffix} 使用Lotserver(锐速)加速
${Green_font_prefix}21.${Font_color_suffix} 系统配置优化 ${Green_font_prefix}22.${Font_color_suffix} 应用优化方案2
Expand Down Expand Up @@ -1364,6 +1372,9 @@ start_menu() {
10)
gotodd
;;
60)
gotoipcheck
;;
11)
startbbrfq
;;
Expand Down

0 comments on commit c81e6d4

Please sign in to comment.