mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-07-27 08:31:44 +08:00
11 lines
311 B
Lua
11 lines
311 B
Lua
local dae = require "luci.model.dae_tools"
|
|
local m, s
|
|
|
|
m = Map("dae", translate("Node Settings"), translate("Configure nodes and groups for DAE."))
|
|
|
|
local node_file = "/etc/dae/config.d/node.dae"
|
|
|
|
s = dae.init_editor(m, "node")
|
|
dae.add_editor(s, node_file, "nodeconf", translate("Node Configuration"))
|
|
|
|
return m |