Makefile 667 B

123456789101112131415161718192021222324252627
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=ffho-ath9k-blackout-workaround
  3. PKG_VERSION:=1
  4. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  5. include $(TOPDIR)/../package/gluon.mk
  6. define Package/ffho-ath9k-blackout-workaround
  7. SECTION:=ffho
  8. CATEGORY:=Workarounds
  9. TITLE:=ATH9K-Blackout workaround
  10. DEPENDS:=+gluon-core +micrond
  11. MAINTAINER:=Freifunk Hochstift <kontakt@hochstift.freifunk.net>
  12. endef
  13. define Package/ffho-ath9k-blackout-workaround/description
  14. Restartes the wifi if possible blckout is detected.
  15. endef
  16. define Package/ffho-ath9k-blackout-workaround/postinst
  17. #!/bin/sh
  18. $(call GluonCheckSite,check_site.lua)
  19. endef
  20. $(eval $(call BuildPackageGluon,$(PKG_NAME)))