v1.9.1beta6
~修复首次启动时提示找不到内核的bug
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -4,5 +4,5 @@ clash_v=v1.7.1
|
|||||||
meta_v=v1.18.1
|
meta_v=v1.18.1
|
||||||
singboxp_v=1.9.0-beta.16-3140e7ac
|
singboxp_v=1.9.0-beta.16-3140e7ac
|
||||||
singbox_v=1.8.8
|
singbox_v=1.8.8
|
||||||
versionsh=1.9.1beta5
|
versionsh=1.9.1beta6
|
||||||
GeoIP_v=20240413
|
GeoIP_v=20240413
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Copyright (C) Juewuy
|
# Copyright (C) Juewuy
|
||||||
|
|
||||||
version=1.9.1beta5
|
version=1.9.1beta6
|
||||||
|
|
||||||
setdir(){
|
setdir(){
|
||||||
dir_avail(){
|
dir_avail(){
|
||||||
|
|||||||
@@ -1587,7 +1587,7 @@ singbox_check() { #singbox启动前检查
|
|||||||
}
|
}
|
||||||
network_check() { #检查是否联网
|
network_check() { #检查是否联网
|
||||||
for host in 223.5.5.5 114.114.114.114 1.2.4.8 dns.alidns.com doh.pub doh.360.cn; do
|
for host in 223.5.5.5 114.114.114.114 1.2.4.8 dns.alidns.com doh.pub doh.360.cn; do
|
||||||
ping -c 3 $host >/dev/null 2>&1 && exit 0
|
ping -c 3 $host >/dev/null 2>&1 && return 0
|
||||||
sleep 2
|
sleep 2
|
||||||
done
|
done
|
||||||
logger "当前设备无法连接网络,已取消开机启动!" 33
|
logger "当前设备无法连接网络,已取消开机启动!" 33
|
||||||
|
|||||||
Reference in New Issue
Block a user