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
357 B
Lua
16 lines
357 B
Lua
1 year ago
|
-- Copyright (C) 2021 dz <dingzhong110@gmail.com>
|
||
|
|
||
|
module("luci.controller.easymesh", package.seeall)
|
||
|
|
||
|
function index()
|
||
|
if not nixio.fs.access("/etc/config/easymesh") then
|
||
|
return
|
||
|
end
|
||
|
|
||
|
local page
|
||
|
|
||
|
page = entry({"admin", "network", "easymesh"}, cbi("easymesh"), _("EASY MESH"), 60)
|
||
|
page.dependent = true
|
||
|
page.acl_depends = { "luci-app-easymesh" }
|
||
|
end
|