~调整Tailscale的缓存目录为安装目录,增加设备名称设置选项

~修复部分设备开机初始化失败的bug
~部分代码细节优化
This commit is contained in:
juewuy
2026-01-01 10:43:25 +08:00
parent abb90eb6f0
commit 5aafe92198
9 changed files with 21 additions and 16 deletions

View File

@@ -17,5 +17,5 @@ routing_mark=$((fwmark + 2))
[ -z "$dns_fallback" ] && dns_fallback="1.1.1.1, 8.8.8.8"
[ -z "$dns_resolver" ] && {
dns_resolver="223.5.5.5, 2400:3200::1"
cat /proc/net/udp | grep -q '0035' && dns_resolver='127.0.0.1'
cat /proc/net/udp | grep -q '0035' && dns_resolver='127.0.0.1, ::1'
}