From: Jo-Philipp Wich Date: Thu, 13 Feb 2014 11:47:01 +0000 (+0000) Subject: Fix swapped system and model values in admin-mini X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b703669c5fac79c2f99afbf223cf7ad79660cff3;p=oweals%2Fluci.git Fix swapped system and model values in admin-mini --- 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 =