projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Renamed FFLuCI to LuCI, ffluci to luci and Freifunk Lua Configuration Interface to...
[project/luci.git]
/
modules
/
freifunk
/
src
/
controller
/
freifunk
/
freifunk.lua
diff --git
a/modules/freifunk/src/controller/freifunk/freifunk.lua
b/modules/freifunk/src/controller/freifunk/freifunk.lua
index
3ff6144
..
104f6cd
100644
(file)
--- a/
modules/freifunk/src/controller/freifunk/freifunk.lua
+++ b/
modules/freifunk/src/controller/freifunk/freifunk.lua
@@
-1,4
+1,4
@@
-module("
ff
luci.controller.freifunk.freifunk", package.seeall)
+module("luci.controller.freifunk.freifunk", package.seeall)
function index()
local page = node()
function index()
local page = node()
@@
-52,17
+52,17
@@
end
function action_status()
local data = {}
function action_status()
local data = {}
- data.s, data.m, data.r =
ff
luci.sys.sysinfo()
+ data.s, data.m, data.r = luci.sys.sysinfo()
- data.wifi =
ff
luci.sys.wifi.getiwconfig()
+ data.wifi = luci.sys.wifi.getiwconfig()
data.routes = {}
data.routes = {}
- for i, r in pairs(
ff
luci.sys.net.routes()) do
+ for i, r in pairs(luci.sys.net.routes()) do
if r.Destination == "00000000" then
table.insert(data.routes, r)
end
end
if r.Destination == "00000000" then
table.insert(data.routes, r)
end
end
-
ff
luci.template.render("public_status/index", data)
+ luci.template.render("public_status/index", data)
end
\ No newline at end of file
end
\ No newline at end of file