diff --git a/README.md b/README.md index 5184e11f7f7ec57e3707035d2afb82acbf3d09d5..58d046a036463336b3fa7c07fa61b16bc58a0a09 100644 --- a/README.md +++ b/README.md @@ -3,15 +3,21 @@ ssid-changer.sh This script changes the SSID when there is no connection to the selected Gateway. -Once a minute it checks if there is a gateway reacheable with `batctl gwl -H` and -decides if a change of the SSID is necessary. +Once a minute it checks if there's still a gateway reacheable with -*It is a fork of https://github.com/ffac/gluon-ssid-changer that doesn't check -the tx value any more. It will be in use in Freifunk Nord* + batctl gwl -H + +and then decides if a change of the SSID is necessary: There is a variable +MINUTES (default 1440 = 24h) at the top of the script `files/lib/gluon/ssid-changer/ssid-changer.sh` +that defines after how many minutes offline the SSID will be changed to +"FF_OFFLINE_$node_hostname". + +*This is a fork of https://github.com/ffac/gluon-ssid-changer that doesn't check +the tx value any more. It is now in use in Freifunk Nord* Gluon versions ============== -This branch of the skript contains the the ssid-changer version for the gluon 2016.1.x. It might probably not work in 2016.2 yet. +This branch of the skript contains the ssid-changer version for the gluon 2016.2.x. Implement this package in your firmware ======================================= @@ -20,8 +26,8 @@ Create a file "modules" with the following content in your site directory: ``` GLUON_SITE_FEEDS="ssidchanger" PACKAGES_SSIDCHANGER_REPO=https://github.com/freifunk-nord/gluon-ssid-changer.git -PACKAGES_SSIDCHANGER_COMMIT=bc81df8a5a3e19c524f0ea9ede3ae4ab79bb01fd +PACKAGES_SSIDCHANGER_COMMIT=aa7aba3c2d013528545b40cc92a0e353adc21c66 PACKAGES_SSIDCHANGER_BRANCH=master ``` -With this done you can add the package gluon-ssid-changer to your site.mk +With this done you can add the package `gluon-ssid-changer` to your `site.mk`