Tiny skidmarks!

main
Jason Hawks 1 year ago
parent f9a7d05d5d
commit 3f6606b99c

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

Loading…
Cancel
Save