Skip to content
Snippets Groups Projects
Commit 6a85ff09 authored by rubo77's avatar rubo77
Browse files

update Makefile

parent a13166de
Branches
Tags
No related merge requests found
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=gluon-ssid-changer PKG_NAME:=gluon-ssid-changer
PKG_VERSION:=1 PKG_VERSION:=2
PKG_RELEASE:=$(GLUON_BRANCH)
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
...@@ -10,10 +11,18 @@ include $(INCLUDE_DIR)/package.mk ...@@ -10,10 +11,18 @@ include $(INCLUDE_DIR)/package.mk
define Package/gluon-ssid-changer define Package/gluon-ssid-changer
SECTION:=gluon SECTION:=gluon
CATEGORY:=Gluon CATEGORY:=Gluon
TITLE:=SSID Changer TITLE:=changes the SSID to an Offline-SSID so clients don't connect to an offline WiFi
DEPENDS:=+gluon-core +micrond DEPENDS:=+gluon-core +micrond
endef endef
define Package/gluon-ssid-changer/description
Script to change the SSID to an Offline-SSID when there is no connection to
any gateway. This SSID is generated from the nodes hostname with the first
and last part of the nodename to allow observers to recognise which node is down.
The script is called once a minute by micron.d and it will change from online to
offline-SSID maximum once a day
endef
define Build/Prepare define Build/Prepare
mkdir -p $(PKG_BUILD_DIR) mkdir -p $(PKG_BUILD_DIR)
endef endef
...@@ -29,4 +38,3 @@ define Package/gluon-ssid-changer/install ...@@ -29,4 +38,3 @@ define Package/gluon-ssid-changer/install
endef endef
$(eval $(call BuildPackage,gluon-ssid-changer)) $(eval $(call BuildPackage,gluon-ssid-changer))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment