gluon/package/gluon-offline-ssid/Makefile
rubo77 a6c48a1575
gluon-offline-ssid: restructure original gluon-ssid-changer code
- transcode ssid_changer.sh into Lua
- remove gluonShellDiet
- change default prefix to just "Offline_"
- extract gluon-web-offline-ssid
2020-02-02 17:30:47 +01:00

23 lines
743 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=gluon-offline-ssid
PKG_VERSION:=7
include ../gluon.mk
define Package/$(PKG_NAME)
TITLE:=changes the SSID to an Offline-SSID so clients don't connect to an offline WiFi
DEPENDS:=+gluon-core +micrond
endef
define Package/$(PKG_NAME)/description
Script to change the SSID to an Offline-SSID when there is no connection to
any gateway. This SSID can be generated from the node's hostname with the
first and last part of the nodename or the mac address, to allow observers to
recognise which node is down. The script is called once a minute by micrond
and it will change from online to Offline-SSID once per definable timeframe at
most.
endef
$(eval $(call BuildPackageGluon,$(PKG_NAME)))