This commit is contained in:
Olia Lisa
2026-05-28 15:24:29 +08:00
parent 506894d145
commit 250952e5dd
+5 -2
View File
@@ -208,6 +208,9 @@ enable_kernel_bbr(){
main(){ main(){
local SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/bin" # 脚本文件夹绝对路径
local CONFIG_FILE="$SCRIPT_DIR/../config/config.json"
local container_status=$(check_container_status) local container_status=$(check_container_status)
# 显示菜单 # 显示菜单
echo "" echo ""
@@ -235,7 +238,7 @@ main(){
# 一键部署 # 一键部署
install install
create_config create_config
port_manage allow $(get_listen_port) # 开放端口 port_manage allow $(get_listen_port "$CONFIG_FILE") # 开放端口
run run
print_share_link print_share_link
;; ;;
@@ -251,7 +254,7 @@ main(){
4) 4)
# 启动 # 启动
check_config_file check_config_file
port_manage allow $(get_listen_port) # 开放端口 port_manage allow $(get_listen_port "$CONFIG_FILE") # 开放端口
run run
print_share_link print_share_link
;; ;;