~1.9.3alpha2.1打包

~修复新手引导和自启网络检测的相关bug
This commit is contained in:
juewuy
2025-12-27 09:11:45 +08:00
parent 302e828c94
commit 3dbb33f3a7
7 changed files with 6 additions and 6 deletions

View File

@@ -70,7 +70,7 @@ EOF
routing_mark=$((fwmark + 2))
#检测网络连接
[ "$network_check" != "已禁用" ] && [ ! -f "$TMPDIR"/crash_start_time ] && ckcmd ping && . "$CRASHDIR"/starts/network_check && network_check
[ "$network_check" != "已禁用" ] && [ ! -f "$TMPDIR"/crash_start_time ] && ckcmd ping && . "$CRASHDIR"/starts/check_network.sh && check_network
[ ! -d "$BINDIR"/ui ] && mkdir -p "$BINDIR"/ui
[ -z "$crashcore" ] && crashcore=meta
#执行条件任务

View File

@@ -1,7 +1,7 @@
#!/bin/sh
# Copyright (C) Juewuy
network_check() { #检查是否联网
check_network() { #检查是否联网
for text in 223.5.5.5 1.2.4.8 dns.alidns.com doh.pub; do
ping -c 3 $text >/dev/null 2>&1 && return 0
sleep 5