Commit 7421a92f authored by rubo77's avatar rubo77

add i18n support to Makefile

parent 5c80482d
This package adds a script, that changes the SSID when there is no connection to
the selected Gateway.
This package adds a script to change the SSID to an Offline-SSID when there is
no connection to any gateway.
This SSID can be generated from the nodes 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 micron.d
and it will change from online to offline-SSID maximum once every (definable)
You can enable/disable it in the config mode.
......@@ -7,6 +7,9 @@ PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
include $(TOPDIR)/../package/
define Package/gluon-ssid-changer
......@@ -31,6 +34,7 @@ define Build/Configure
define Build/Compile
$(call GluonBuildI18N,gluon-ssid-changer,i18n)
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
......@@ -38,6 +42,7 @@ define Package/gluon-ssid-changer/install
$(CP) ./files/* $(1)/
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
./ $(1)/lib/gluon/ssid-changer/
$(call GluonInstallI18N,gluon-ssid-changer,$(1))
define Package/gluon-ssid-changer/postinst
......@@ -17,5 +17,5 @@ msgid ""
"Here you can enable to automatically change the SSID to the OFFLINE-SSID "
"when the node has no connection to the selected Gateway."
msgstr ""
"Hier hast du aktivieren, dass dein Knoten automatisch die SSID auf die "
"Hier kannst du aktivieren, dass dein Knoten automatisch die SSID auf die "
"OFFLINE-SSID ändert wenn keine Verbundung zum Freifunk Server besteht."
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment