This commit is contained in:
SirPdboy 2022-02-22 01:01:45 +08:00 committed by GitHub
parent ea4d953c55
commit 0855d196e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,9 @@ local x = luci.model.uci.cursor()
function index()
if not nixio.fs.access("/etc/config/wolplus") then return end
entry({"admin", "control"}, firstchild(), "Control", 44).dependent = false
local page = entry({"admin", "control", "wolplus"}, cbi("wolplus"), _("网络唤醒"))
page.order = 50
page.dependent = true