You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
471 B
Lua
16 lines
471 B
Lua
|
|
module("luci.controller.lxc-attach", package.seeall)
|
|
|
|
function index()
|
|
entry({"admin", "apps"}, firstchild(), _("apps") , 45).dependent = false
|
|
if not nixio.fs.access("/etc/config/lxc-attach") then
|
|
return
|
|
end
|
|
|
|
local page = entry({"admin", "apps", "lxc-attach"}, cbi("lxc-attach"), _("lxc-attach"))
|
|
page.order = 10
|
|
page.dependent = true
|
|
page.acl_depends = { "luci-app-lxc-attach" }
|
|
entry({"admin","apps","lxc-attach","status"},call("act_status")).leaf=true
|
|
end
|