Update 'luasrc/model/cbi/easymesh.lua'

pull/1/head
ben 1 year ago
parent ff06703514
commit 1d9d2e7fb5

@ -45,6 +45,12 @@ s.anonymous = true
o = s:option(Flag, "enabled", translate("Enable"), translate("Enable or disable EASY MESH"))
o.default = 0
o.rmempty = false
function o.write(self, section, value)
Flag.write(self, section, value)
-- Run init start
luci.sys.call("/etc/init.d/easymesh start")
end
o = s:option(ListValue, "role", translate("role"))
o:value("off", translate("off"))

Loading…
Cancel
Save