From d8b557d107429e1fb2daa6885ee1d305f4d8f8cc Mon Sep 17 00:00:00 2001 From: Jason Hawks Date: Thu, 9 Nov 2023 15:47:56 -0500 Subject: [PATCH] Fix script location --- Makefile | 2 +- luasrc/model/cbi/easymesh.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 57d159e..d4fb321 100755 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk LUCI_TITLE:=LuCI Support for easymesh LUCI_DEPENDS:= +kmod-cfg80211 +batctl-default +kmod-batman-adv +dawn +bash -PKG_VERSION:=2.8.0 +PKG_VERSION:=2.8.1 PKG_RELEASE:=0 include $(TOPDIR)/feeds/luci/luci.mk diff --git a/luasrc/model/cbi/easymesh.lua b/luasrc/model/cbi/easymesh.lua index 577aa1a..d317a87 100755 --- a/luasrc/model/cbi/easymesh.lua +++ b/luasrc/model/cbi/easymesh.lua @@ -180,12 +180,12 @@ ctrl.addremove = false btnStart = ctrl:option(Button, "_btn_start", translate("Enable Easy Mesh")) function btnStart.write() - io.popen("/root/easymesh/easymesh.sh") + io.popen("/easymesh/easymesh.sh") end btnStop = ctrl:option(Button, "_btn_stop", translate("Disable Easy Mesh")) function btnStop.write() - io.popen("/root/easymesh/easymesh.sh") + io.popen("/easymesh/easymesh.sh") end function o.write(self, section, value)