immortalwrt/package/lean/luci-app-haproxy-tcp/luasrc/controller/haproxy.lua
2019-09-30 13:52:50 +08:00

7 lines
259 B
Lua

module("luci.controller.haproxy", package.seeall)
function index()
if not nixio.fs.access("/etc/config/haproxy") then
return
end
entry({"admin", "services", "haproxy"}, cbi("haproxy"), _("HAProxy")).dependent = true
end