增加DDNSTO

This commit is contained in:
悟空的日常镜像仓库 2024-05-23 13:19:03 +08:00
parent a9c7160c74
commit 6bfdb4d0d4
1 changed files with 8 additions and 0 deletions

View File

@ -38,6 +38,7 @@ menu_options=(
"安装盒子助手docker版" "安装盒子助手docker版"
"安装特斯拉伴侣TeslaMate" "安装特斯拉伴侣TeslaMate"
"安装CasaOS面板" "安装CasaOS面板"
"安装内网穿透工具DDNSTO"
"更新脚本" "更新脚本"
) )
@ -59,6 +60,7 @@ commands=(
["更新脚本"]="update_scripts" ["更新脚本"]="update_scripts"
["安装小雅tvbox"]="install_xiaoya_tvbox" ["安装小雅tvbox"]="install_xiaoya_tvbox"
["安装特斯拉伴侣TeslaMate"]="install_teslamate" ["安装特斯拉伴侣TeslaMate"]="install_teslamate"
["安装内网穿透工具DDNSTO"]="install_ddnsto"
) )
@ -495,6 +497,12 @@ check_docker_compose() {
fi fi
} }
# 安装DDNSTO
install_ddnsto(){
green "请登录 https://www.ddnsto.com/app/#/devices 在控制台复制 令牌 令牌=token"
sh -c "$(curl -sSL http://fw.koolcenter.com/binary/ddnsto/linux/install_ddnsto_linux.sh)"
}
show_menu() { show_menu() {
clear clear
greenline "————————————————————————————————————————————————————" greenline "————————————————————————————————————————————————————"