Files
op-packages/openwrt-dist-luci/files/luci/controller/redsocks2.lua
T

18 lines
468 B
Lua

-- Copyright (C) 2014-2018 OpenWrt-dist
-- Copyright (C) 2014-2018 Jian Chang <aa65535@live.com>
-- Licensed to the public under the GNU General Public License v3.
module("luci.controller.redsocks2", package.seeall)
function index()
if not nixio.fs.access("/etc/config/redsocks2") then
return
end
page = entry({"admin", "services", "redsocks2"},
cbi("redsocks2"),
_("RedSocks2"), 72)
page.dependent = true
page.acl_depends = { "luci-app-redsocks2" }
end