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