mirror of
https://github.com/Lsmoisu/sing-box-shell.git
synced 2025-06-07 23:04:13 +08:00
更新默认配置文件 URL
This commit is contained in:
parent
302246d3ac
commit
b9a465f14c
@ -236,7 +236,7 @@ setup_update_script() {
|
||||
|
||||
# 下载配置文件
|
||||
download_config() {
|
||||
DEFAULT_CONFIG_URL="https://sub.aaa.team/config-66ca38b4bd8d"
|
||||
DEFAULT_CONFIG_URL="https://sub.aaa.team/config-route-default"
|
||||
log "INFO" "请输入配置文件 URL(回车使用默认: $DEFAULT_CONFIG_URL): "
|
||||
read CONFIG_URL
|
||||
[ -z "$CONFIG_URL" ] && CONFIG_URL="$DEFAULT_CONFIG_URL" && log "INFO" "使用默认配置文件: $CONFIG_URL"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
|
||||
# 定义变量
|
||||
REMOTE_URL="https://sub.aaa.team/config-66ca38b4bd8d"
|
||||
REMOTE_URL="https://sub.aaa.team/config-route-default"
|
||||
LOCAL_CONFIG="/etc/sing-box/config.json"
|
||||
TEMP_CONFIG="/tmp/sing-box-config.json.new"
|
||||
LOG_FILE="/var/log/sing-box-config-update.log"
|
||||
|
Loading…
x
Reference in New Issue
Block a user