From c5329d85d5a3f4ac14d0a07b298167876d979413 Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Wed, 30 Nov 2011 05:50:43 +0000 Subject: applications/splash: Fix blacklisting mechanism, expose status on public freifunk page, add json output and autoupdate. --- modules/freifunk/luasrc/controller/freifunk/freifunk.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/freifunk/luasrc/controller') diff --git a/modules/freifunk/luasrc/controller/freifunk/freifunk.lua b/modules/freifunk/luasrc/controller/freifunk/freifunk.lua index 1d0175ff1e..1b55131251 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 -- cgit v1.2.3