summaryrefslogtreecommitdiffhomepage
path: root/modules/freifunk/luasrc/controller
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2011-11-30 05:50:43 +0000
committerManuel Munz <freifunk@somakoma.de>2011-11-30 05:50:43 +0000
commitc5329d85d5a3f4ac14d0a07b298167876d979413 (patch)
tree7f936bfa6bb6a5d0867231fff45e9a02c03c094c /modules/freifunk/luasrc/controller
parentf4b9de593d180a835fbf0ed549b1eceb3531a647 (diff)
applications/splash: Fix blacklisting mechanism, expose status on public freifunk page, add json output and autoupdate.
Diffstat (limited to 'modules/freifunk/luasrc/controller')
-rw-r--r--modules/freifunk/luasrc/controller/freifunk/freifunk.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/freifunk/luasrc/controller/freifunk/freifunk.lua b/modules/freifunk/luasrc/controller/freifunk/freifunk.lua
index 1d0175ff1..1b5513125 100644
--- a/modules/freifunk/luasrc/controller/freifunk/freifunk.lua
+++ b/modules/freifunk/luasrc/controller/freifunk/freifunk.lua
@@ -57,6 +57,10 @@ function index()
entry({"freifunk", "status", "zeroes"}, call("zeroes"), "Testdownload")
entry({"freifunk", "status", "public_status_json"}, call("public_status_json")).leaf = true
+ if nixio.fs.access("/usr/sbin/luci-splash") then
+ assign({"freifunk", "status", "splash"}, {"splash", "publicstatus"}, _("Splash"), 40)
+ end
+
assign({"freifunk", "olsr"}, {"admin", "status", "olsr"}, _("OLSR"), 30)
if nixio.fs.access("/etc/config/luci_statistics") then