Merge branch 'main' into ben_main

main
Jason Hawks 1 year ago
commit 571cd4b990

@ -6,18 +6,13 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-easymesh PKG_NAME:=luci-app-easymesh
PKG_VERSION:=2.8.12 PKG_VERSION:=2.8.17
PKG_RELEASE:=$(AUTORELEASE) PKG_RELEASE:=$(AUTORELEASE)
PKG_MAINTAINER:=Jason Hawks <jason@torguard.net> PKG_MAINTAINER:=Jason Hawks <jason@torguard.net>
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
# Keep the config file safe
define Package/luci-app-easymesh/conffiles
/etc/config/easymesh
endef
include $(TOPDIR)/feeds/luci/luci.mk include $(TOPDIR)/feeds/luci/luci.mk
# call BuildPackage - OpenWrt buildroot signature # call BuildPackage - OpenWrt buildroot signature

@ -1,3 +0,0 @@
config easymesh 'config'
option enabled '0'

@ -1,5 +1,16 @@
#!/bin/sh #!/bin/sh
if [ ! -f /etc/config/easymesh ]; then
echo "Creating /etc/config/easymesh"
cat <<EOF > /etc/config/easymesh
config easymesh 'config'
option enabled '0'
EOF
reload_config
else
echo "/etc/config/easymesh exists, skipping creation"
fi
uci -q batch <<-EOF >/dev/null uci -q batch <<-EOF >/dev/null
delete ucitrack.@easymesh[-1] delete ucitrack.@easymesh[-1]
add ucitrack easymesh add ucitrack easymesh

Loading…
Cancel
Save