diff --git a/core/install.sh b/core/install.sh index 14cbc6d..578cd11 100755 --- a/core/install.sh +++ b/core/install.sh @@ -61,7 +61,7 @@ fi echo -e "======================================\n" sleep 1 -REPO_RAW_URL="https://raw.githubusercontent.com/hotyue/IP-Sentinel/main" +REPO_RAW_URL="https://raw.githubusercontent.com/hotyue/IP-Sentinel/feature/v4.2.0-dual-stack" INSTALL_DIR="/opt/ip_sentinel" CONFIG_FILE="${INSTALL_DIR}/config.conf" diff --git a/master/install_master.sh b/master/install_master.sh index 1397b2b..da9ed9c 100755 --- a/master/install_master.sh +++ b/master/install_master.sh @@ -60,7 +60,7 @@ fi echo -e "======================================\n" sleep 1 -REPO_RAW_URL="https://raw.githubusercontent.com/hotyue/IP-Sentinel/main" +REPO_RAW_URL="https://raw.githubusercontent.com/hotyue/IP-Sentinel/feature/v4.2.0-dual-stack" # [链路容灾] 双栈冗余防抖抓取,确立本地态势版本号 TARGET_VERSION=$( (curl -fsSL --connect-timeout 5 --retry 2 "${REPO_RAW_URL}/version.txt" || curl -4 -fsSL --connect-timeout 5 --retry 2 "${REPO_RAW_URL}/version.txt") 2>/dev/null | grep "^MASTER_VERSION=" | cut -d'=' -f2 | tr -d '[:space:]') diff --git a/master/tg_master.sh b/master/tg_master.sh index 8888d15..4c65866 100755 --- a/master/tg_master.sh +++ b/master/tg_master.sh @@ -9,7 +9,7 @@ CONF="/opt/ip_sentinel_master/master.conf" [ ! -f "$CONF" ] && exit 1 source "$CONF" -REPO_RAW_URL="https://raw.githubusercontent.com/hotyue/IP-Sentinel/main" +REPO_RAW_URL="https://raw.githubusercontent.com/hotyue/IP-Sentinel/feature/v4.2.0-dual-stack" MASTER_VERSION=${MASTER_VERSION:-"3.5.0"} OFFSET_FILE="${MASTER_DIR}/.tg_offset"