mirror of
https://github.com/kenzok8/small.git
synced 2025-01-09 04:29:21 +08:00
update 2024-05-08 12:11:13
This commit is contained in:
parent
f88d881862
commit
de653a9bde
@ -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
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user