luci-app-ssocks: update controller

This commit is contained in:
CN_SZTL 2019-10-27 10:58:55 +08:00
parent 3422b69db6
commit fc8623ed69
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -8,9 +8,10 @@ function index()
if not nixio.fs.access("/etc/config/ssocks") then
return
end
entry({"admin", "services", "ssocks"},firstchild(), _("sSocks Server"), 50).dependent = false
entry({"admin", "services", "ssocks", "general"},cbi("ssocks"), _("Base Setting"), 1)
local page
page = entry({"admin", "services", "ssocks"}, cbi("ssocks"), _("sSocks Server"), 100)
page.i18n = "vlmcsd"
page.dependent = true
entry({"admin", "services", "ssocks", "status"},call("act_status")).leaf=true
end