mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-06 11:24:15 +08:00
update 2026-10-06 22:40:04
This commit is contained in:
1 parent
daaa6d2406
commit
a2da411394
293 files changed
+113293
-167
No files matched your search
@@ -1186,6 +1186,12 @@ normalize_xray_protocol_nodes() {
|
||||
changed=1
|
||||
fi
|
||||
fi
|
||||
if [ "$type" = "anytls" ]; then
|
||||
uci -q set "$NAME.$section.type=v2ray"
|
||||
uci -q set "$NAME.$section.v2ray_protocol=anytls"
|
||||
[ -n "$(uci_get_by_name "$section" tls)" ] || uci -q set "$NAME.$section.tls=1"
|
||||
changed=1
|
||||
fi
|
||||
if [ "$type" = "hysteria2" ]; then
|
||||
echolog "提示:检测到原生 Hysteria2 节点,自动迁移为 Xray(Hysteria2)。"
|
||||
uci -q set "$NAME.$section.type=v2ray"
|
||||
|
||||
Reference in new issue
Block a user