Update sb.sh

This commit is contained in:
甬哥侃侃侃ygkkk
2026-03-26 15:40:59 +08:00
committed by GitHub
parent 47d8d8fe51
commit a189c730e8
-1
View File
@@ -33,7 +33,6 @@ release="Centos"
else else
red "脚本不支持当前的系统,请选择使用Ubuntu,Debian,Centos系统。" && exit red "脚本不支持当前的系统,请选择使用Ubuntu,Debian,Centos系统。" && exit
fi fi
export release
export sbfiles="/etc/s-box/sb10.json /etc/s-box/sb11.json /etc/s-box/sb.json" export sbfiles="/etc/s-box/sb10.json /etc/s-box/sb11.json /etc/s-box/sb.json"
export sbnh=$(/etc/s-box/sing-box version 2>/dev/null | awk '/version/{print $NF}' | cut -d '.' -f 1,2) export sbnh=$(/etc/s-box/sing-box version 2>/dev/null | awk '/version/{print $NF}' | cut -d '.' -f 1,2)
vsid=$(grep -i version_id /etc/os-release | cut -d \" -f2 | cut -d . -f1) vsid=$(grep -i version_id /etc/os-release | cut -d \" -f2 | cut -d . -f1)