|
|
@ -6,13 +6,28 @@
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
|
|
|
|
PKG_NAME:=luci-app-easymesh
|
|
|
|
PKG_NAME:=luci-app-easymesh
|
|
|
|
PKG_VERSION:=2.8.13
|
|
|
|
PKG_VERSION:=2.8.14
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
define Package/luci-app-easymesh/postinst
|
|
|
|
|
|
|
|
#!/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
|
|
|
|
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
|
|
include $(TOPDIR)/feeds/luci/luci.mk
|
|
|
|
include $(TOPDIR)/feeds/luci/luci.mk
|
|
|
|
|
|
|
|
|
|
|
|
# call BuildPackage - OpenWrt buildroot signature
|
|
|
|
# call BuildPackage - OpenWrt buildroot signature
|
|
|
|