luci-mod-freifunk: fix public status page
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
This commit is contained in:
parent
993cf12229
commit
240458ea8a
1 changed files with 4 additions and 4 deletions
|
@ -23,12 +23,12 @@ local load = string.format("%.2f, %.2f, %.2f", loads[1] / 65535.0, loads[2] / 65
|
|||
|
||||
local mem = string.format(
|
||||
"%.2f MB (%.2f %s, %.2f %s, %.2f %s)",
|
||||
memory.total / 1024 / 1024,
|
||||
(memory.total - memory.free) / 1024 / 1024,
|
||||
meminfo.total / 1024 / 1024,
|
||||
(meminfo.total - meminfo.free) / 1024 / 1024,
|
||||
tostring(i18n.translate("used")),
|
||||
memory.free / 1024 / 1024,
|
||||
meminfo.free / 1024 / 1024,
|
||||
tostring(i18n.translate("free")),
|
||||
memory.buffered / 1024 / 1024,
|
||||
meminfo.buffered / 1024 / 1024,
|
||||
tostring(i18n.translate("buffered"))
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue