op-packages/luci-app-haproxy-tcp/luasrc/controller/haproxy.lua
github-actions[bot] 5eb416f3e2 🐶 Sync 2026-04-18 02:04:09
2026-04-18 02:04:09 +08:00

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