Skip to content

Commit

Permalink
luci-app-ssr-plus: Fix Xray old configuration does not run.
Browse files Browse the repository at this point in the history
  • Loading branch information
zxlhhyccc authored Nov 23, 2024
1 parent 20b3e95 commit 3f2dd2c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions luci-app-ssr-plus/root/etc/uci-defaults/luci-ssr-plus
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ uci -q batch <<-EOF >/dev/null
set firewall.shadowsocksr.path=/var/etc/shadowsocksr.include
set firewall.shadowsocksr.reload=1
commit firewall
delete shadowsocksr.@global_xray_fragment[0]
add shadowsocksr global_xray_fragment
set shadowsocksr.@global_xray_fragment[0].fragment='0'
set shadowsocksr.@global_xray_fragment[0].noise='0'
commit shadowsocksr
EOF

rm -rf /etc/config/shadowsocksr-opkg /etc/ssrplus/*opkg
Expand Down

0 comments on commit 3f2dd2c

Please sign in to comment.