Update sb.sh

This commit is contained in:
甬哥侃侃侃ygkkk
2026-03-12 08:37:23 +08:00
committed by GitHub
parent e5b61a094b
commit fb3641dfaf
+4 -3
View File
@@ -3100,7 +3100,7 @@ green "订阅链接路径密码:$(cat /etc/s-box/subtoken.log 2>/dev/null)"
}
subportipsub(){
echo
readp "输入未被占用的订阅链接端口(回车表示随机端口):" menu
readp "输入未被占用且可用的订阅链接端口(回车表示随机端口):" menu
if [ -z "$menu" ]; then
subport=$(shuf -i 10000-65535 -n 1)
else
@@ -3111,8 +3111,8 @@ green "订阅链接端口:$(cat /etc/s-box/subport.log 2>/dev/null)"
}
echo
yellow "1:重置安装本地IP订阅链接"
yellow "2仅重置订阅链接路径密码"
yellow "3仅重置订阅链接端口"
yellow "2更换订阅链接路径密码"
yellow "3更换订阅链接端口"
yellow "4:卸载本地IP订阅链接"
yellow "0:返回上层"
readp "请选择【0-4】:" menu
@@ -3133,6 +3133,7 @@ green "本地IP订阅链接已卸载完成" && sleep 3 && sb
else
changeserv
fi
echo
green "请稍后…………"
kill -15 $(cat /etc/s-box/subcmsbid.log 2>/dev/null) >/dev/null 2>&1
mkdir -p /root/web/"$(cat /etc/s-box/subtoken.log 2>/dev/null)"