From b703669c5fac79c2f99afbf223cf7ad79660cff3 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 13 Feb 2014 11:47:01 +0000 Subject: [PATCH] Fix swapped system and model values in admin-mini --- modules/admin-mini/luasrc/model/cbi/mini/system.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/admin-mini/luasrc/model/cbi/mini/system.lua b/modules/admin-mini/luasrc/model/cbi/mini/system.lua index f2ab5e529..593af04f2 100644 --- a/modules/admin-mini/luasrc/model/cbi/mini/system.lua +++ b/modules/admin-mini/luasrc/model/cbi/mini/system.lua @@ -27,8 +27,8 @@ s.addremove = false local system, model, memtotal, memcached, membuffers, memfree = luci.sys.sysinfo() local uptime = luci.sys.uptime() -s:option(DummyValue, "_system", translate("System")).value = system -s:option(DummyValue, "_cpu", translate("Processor")).value = model +s:option(DummyValue, "_system", translate("System")).value = model +s:option(DummyValue, "_cpu", translate("Processor")).value = system local load1, load5, load15 = luci.sys.loadavg() s:option(DummyValue, "_la", translate("Load")).value = -- 2.25.1