From 6c81df9a0f90f71f13ce333280e73384dce51c15 Mon Sep 17 00:00:00 2001
From: nrbffs <38812627+nrbffs@users.noreply.github.com>
Date: Tue, 15 Jan 2019 20:11:04 +0000
Subject: [PATCH] enable SSID changer from freifunk nord

---
 modules   |  6 +++++-
 site.conf | 12 ++++++++++++
 site.mk   |  1 +
 3 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/modules b/modules
index 6280db3b2..d4458bfa7 100644
--- a/modules
+++ b/modules
@@ -1,4 +1,8 @@
-GLUON_SITE_FEEDS='ffs'
+GLUON_SITE_FEEDS='ffs ssidchanger'
 
 PACKAGES_FFS_REPO=https://github.com/freifunk-stuttgart/Gluon-Packages
 PACKAGES_FFS_COMMIT=cb5fd4bb2a5b9cd2d42f89de9e750a8eec9c3f5d
+
+PACKAGES_SSIDCHANGER_REPO=https://github.com/freifunk-nord/gluon-ssid-changer.git
+PACKAGES_SSIDCHANGER_COMMIT=3c6750ce8fc9cedabfa8a6f479fb12d343c6ecc2
+PACKAGES_SSIDCHANGER_BRANCH=2018.1.x
diff --git a/site.conf b/site.conf
index 405a5b622..0ea780db3 100644
--- a/site.conf
+++ b/site.conf
@@ -43,6 +43,18 @@
         },
     },
 
+    ssid_changer = {
+	enabled = true,
+	switch_timeframe = 30,
+	first = 5,
+	prefix = 'FFS_Offline_',
+	suffix = 'nodename',
+
+	tq_limit_enabled = false,
+	tq_limit_max = 45,
+	tq_limit_min = 35
+    },
+
     mesh = {
         vxlan = false,
     },
diff --git a/site.mk b/site.mk
index 928052dd0..b852d0d84 100644
--- a/site.mk
+++ b/site.mk
@@ -35,6 +35,7 @@ GLUON_SITE_PACKAGES := \
 	gluon-radvd \
 	gluon-radv-filterd \
 	gluon-setup-mode \
+	gluon-ssid-changer \
 	gluon-status-page \
 	haveged \
 	iptables \
-- 
GitLab