From 72177b29f6b39217ae2bc4a6b010a23c45d6ae4c Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Fri, 12 Jan 2024 18:58:12 +0100 Subject: [PATCH] Use Shadowsocks-Rust by default --- .../luasrc/view/openmptcprouter/wizard.htm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wizard.htm b/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wizard.htm index 4841cc622..6a9c8c0e6 100644 --- a/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wizard.htm +++ b/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wizard.htm @@ -240,7 +240,7 @@ end for _, proxy in pairs(available_proxys) do if proxy == "shadowsocks" then %> - <% if nixio.fs.access("/etc/init.d/shadowsocks-libev") then %><% end %> + <% if nixio.fs.access("/etc/init.d/shadowsocks-libev") then %><% end %> <% elseif proxy == "v2ray" then %> <% if nixio.fs.access("/etc/init.d/v2ray") then %><% end %> <% elseif proxy == "v2ray-vmess" then %> @@ -262,13 +262,13 @@ <% elseif proxy == "xray-shadowsocks" then %> <% if nixio.fs.access("/etc/init.d/xray") then %><% end %> <% elseif proxy == "shadowsocks-rust" or proxy == "shadowsocks-go" then %> - <% if nixio.fs.access("/etc/init.d/shadowsocks-rust") then %><% end %> + <% if nixio.fs.access("/etc/init.d/shadowsocks-rust") then %><% end %> <% end end %> <% else %> - <% if nixio.fs.access("/etc/init.d/shadowsocks-libev") then %><% end %> + <% if nixio.fs.access("/etc/init.d/shadowsocks-libev") then %><% end %> <% if nixio.fs.access("/etc/init.d/v2ray") then %><% end %> <% if nixio.fs.access("/etc/init.d/v2ray") then %><% end %> <% if nixio.fs.access("/etc/init.d/v2ray") then %><% end %> @@ -279,7 +279,7 @@ <% if nixio.fs.access("/etc/init.d/xray") then %><% end %> <% if nixio.fs.access("/etc/init.d/xray") then %><% end %> <% if nixio.fs.access("/etc/init.d/xray") then %><% end %> - <% if nixio.fs.access("/etc/init.d/shadowsocks-rust") then %><% end %> + <% if nixio.fs.access("/etc/init.d/shadowsocks-rust") then %><% end %> <% end %>