update 2024-05-08 12:11:13

This commit is contained in:
actions-user 2024-05-08 12:11:13 +08:00
parent f88d881862
commit de653a9bde
2 changed files with 7 additions and 2 deletions

View File

@ -35,8 +35,14 @@ EOF
chmod +x /usr/share/passwall/*.sh
## 4.77-5 below upgrade to 4.77-6 above
[ -e "/etc/config/passwall_show" ] && rm -rf /etc/config/passwall_show
[ "$(uci -q get passwall.@global_xray[0].sniffing)" == "1" ] && [ "$(uci -q get passwall.@global_xray[0].route_only)" != "1" ] && uci -q set passwall.@global_xray[0].sniffing_override_dest=1
uci -q delete passwall.@global_xray[0].sniffing
uci -q delete passwall.@global_xray[0].route_only
uci -q commit passwall
rm -f /tmp/luci-indexcache
rm -rf /tmp/luci-modulecache/
killall -HUP rpcd 2>/dev/null

View File

@ -47,8 +47,7 @@ config global_forwarding
option ipv6_tproxy '0'
config global_xray
option sniffing '1'
option route_only '0'
option sniffing_override_dest '0'
config global_singbox
option sniff_override_destination '0'