mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-29 23:35:13 +08:00
🐶 Sync 2026-04-18 02:04:09
This commit is contained in:
1 parent
411261cf2a
commit
50677d77a8
207 files changed
+3148
-3426
No files matched your search
@@ -1,9 +1,9 @@
|
||||
module("luci.controller.haproxy", package.seeall)
|
||||
|
||||
function index()
|
||||
if not nixio.fs.access("/etc/config/haproxy") then
|
||||
return
|
||||
end
|
||||
local page = entry({"admin", "services", "haproxy"}, cbi("haproxy"), _("HAProxy"))
|
||||
page.dependent = true
|
||||
page.acl_depends = { "luci-app-haproxy-tcp" }
|
||||
end
|
||||
if not nixio.fs.access("/etc/config/haproxy") then
|
||||
return
|
||||
end
|
||||
|
||||
entry({"admin", "services", "haproxy"}, cbi("haproxy"), _("HAProxy")).dependent = true
|
||||
end
|
||||
Reference in new issue
Block a user