luci-app-vssr: sync with upstream source
This commit is contained in:
parent
bfcb22ac59
commit
66d3af4eec
@ -6,6 +6,7 @@ function index()
|
||||
if not nixio.fs.access("/etc/config/vssr") then return end
|
||||
|
||||
if nixio.fs.access("/usr/bin/ssr-redir") then
|
||||
entry({"admin", "vpn"}, firstchild(), "VPN", 45).dependent = false
|
||||
entry({"admin", "vpn", "vssr"},
|
||||
alias("admin", "vpn", "vssr", "client"), _("vssr"), 10).dependent =
|
||||
true -- 首页
|
||||
@ -380,4 +381,4 @@ function get_flag()
|
||||
e.flag = luci.sys.exec(cmd1)
|
||||
luci.http.prepare_content("application/json")
|
||||
luci.http.write_json(e)
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user