4
Fork 0
CronosAgent/OpenWRT/controller/cronosagent.lua

7 lines
437 B
Lua

module("luci.controller.cronosagent", package.seeall)
function index()
entry({ "admin", "cronosagent" }, alias("admin", "cronosagent", "configure", "restart"), "CronosAgent")
entry({ "admin", "cronosagent", "configure" }, cbi("cronosagent/configure"), "Configure", 10)
entry({ "admin", "cronosagent", "restart" }, template("cronosagent/restart"), "Restart", 20)
end