|
|
|
@ -228,9 +228,9 @@ btnAPMode:depends("role", "off")
|
|
|
|
|
m.on_before_apply = function(self)
|
|
|
|
|
local enabled = m:formvalue("cbid.easymesh.config.enabled")
|
|
|
|
|
if enabled and enabled == "1" then
|
|
|
|
|
io.popen("/easymesh/easymesh.sh enable &")
|
|
|
|
|
luci.sys.call("/easymesh/easymesh.sh enable &")
|
|
|
|
|
else
|
|
|
|
|
io.popen("/easymesh/easymesh.sh disable &")
|
|
|
|
|
luci.sys.call("/easymesh/easymesh.sh disable &")
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|