Fix script location

pull/2/head
Jason Hawks 1 year ago
parent 73cafbf155
commit d8b557d107

@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
LUCI_TITLE:=LuCI Support for easymesh LUCI_TITLE:=LuCI Support for easymesh
LUCI_DEPENDS:= +kmod-cfg80211 +batctl-default +kmod-batman-adv +dawn +bash LUCI_DEPENDS:= +kmod-cfg80211 +batctl-default +kmod-batman-adv +dawn +bash
PKG_VERSION:=2.8.0 PKG_VERSION:=2.8.1
PKG_RELEASE:=0 PKG_RELEASE:=0
include $(TOPDIR)/feeds/luci/luci.mk include $(TOPDIR)/feeds/luci/luci.mk

@ -180,12 +180,12 @@ ctrl.addremove = false
btnStart = ctrl:option(Button, "_btn_start", translate("Enable Easy Mesh")) btnStart = ctrl:option(Button, "_btn_start", translate("Enable Easy Mesh"))
function btnStart.write() function btnStart.write()
io.popen("/root/easymesh/easymesh.sh") io.popen("/easymesh/easymesh.sh")
end end
btnStop = ctrl:option(Button, "_btn_stop", translate("Disable Easy Mesh")) btnStop = ctrl:option(Button, "_btn_stop", translate("Disable Easy Mesh"))
function btnStop.write() function btnStop.write()
io.popen("/root/easymesh/easymesh.sh") io.popen("/easymesh/easymesh.sh")
end end
function o.write(self, section, value) function o.write(self, section, value)

Loading…
Cancel
Save