summaryrefslogtreecommitdiffhomepage
path: root/modules/freifunk/luasrc/controller
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-07-14 15:54:53 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-07-14 15:54:53 +0000
commit426f12416dd59cd24524fb577bdea8b2e4c440f9 (patch)
tree5ccf85da15170b26f2b8cec395cb5bd863bbae41 /modules/freifunk/luasrc/controller
parentbd3d20708134c3a7622269f71d13ccb70ac0dece (diff)
* luci: add memory status patches from soma
Diffstat (limited to 'modules/freifunk/luasrc/controller')
-rw-r--r--modules/freifunk/luasrc/controller/freifunk/freifunk.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/freifunk/luasrc/controller/freifunk/freifunk.lua b/modules/freifunk/luasrc/controller/freifunk/freifunk.lua
index 78cb92f2a7..351a094482 100644
--- a/modules/freifunk/luasrc/controller/freifunk/freifunk.lua
+++ b/modules/freifunk/luasrc/controller/freifunk/freifunk.lua
@@ -67,7 +67,8 @@ end
function action_status()
local data = {}
- data.s, data.m, data.r = luci.sys.sysinfo()
+ data.system, data.model, data.memtotal, data.memcached, data.membuffers, data.memfree, data.perc_memfree, data.perc_membuffers, data.perc_memcached = luci.sys.sysinfo()
+
data.wifi = luci.sys.wifi.getiwconfig()