mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-10-26 22:52:51 +08:00
update 2026-07-16 01:11:41
This commit is contained in:
1 parent
e3177747c8
commit
6bc60cfbf2
1 file changed
+4
@@ -49,6 +49,10 @@ chmod +x /usr/share/passwall2/*.sh
|
|||||||
[ "$(uci -q get passwall2.@global_xray[0].sniffing)" == "1" ] && [ "$(uci -q get passwall2.@global_xray[0].route_only)" != "1" ] && uci -q set passwall2.@global_xray[0].sniffing_override_dest=1
|
[ "$(uci -q get passwall2.@global_xray[0].sniffing)" == "1" ] && [ "$(uci -q get passwall2.@global_xray[0].route_only)" != "1" ] && uci -q set passwall2.@global_xray[0].sniffing_override_dest=1
|
||||||
uci -q delete passwall2.@global_xray[0].sniffing
|
uci -q delete passwall2.@global_xray[0].sniffing
|
||||||
uci -q delete passwall2.@global_xray[0].route_only
|
uci -q delete passwall2.@global_xray[0].route_only
|
||||||
|
frag_len=$(uci -q get passwall2.@global_xray[0].fragment_length)
|
||||||
|
[ -n "$frag_len" ] && uci -q set passwall2.@global_xray[0].fragment_lengths="$frag_len" && uci -q delete passwall2.@global_xray[0].fragment_length
|
||||||
|
frag_dly=$(uci -q get passwall2.@global_xray[0].fragment_delay)
|
||||||
|
[ -n "$frag_dly" ] && uci -q set passwall2.@global_xray[0].fragment_delays="$frag_dly" && uci -q delete passwall2.@global_xray[0].fragment_delay
|
||||||
uci -q commit passwall2
|
uci -q commit passwall2
|
||||||
|
|
||||||
sed -i "s#add_from#group#g" /etc/config/passwall2 2>/dev/null
|
sed -i "s#add_from#group#g" /etc/config/passwall2 2>/dev/null
|
||||||
|
|||||||
Reference in new issue
Block a user