immortalwrt/package/lean/luci-app-haproxy-tcp/luasrc/controller/haproxy.lua

7 lines
259 B
Lua
Raw Normal View History

2019-04-27 21:49:17 +08:00
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