Files
op-packages/luci-app-haproxy-tcp/luasrc/controller/haproxy.lua
T

10 lines
231 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