Fix swapped system and model values in admin-mini
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 13 Feb 2014 11:47:01 +0000 (11:47 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 13 Feb 2014 11:47:01 +0000 (11:47 +0000)
modules/admin-mini/luasrc/model/cbi/mini/system.lua

index f2ab5e529c9141f473dfb96353dbb8bb44a9fe83..593af04f25f3db2e81b9fbc73ace886b9adb6798 100644 (file)
@@ -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 =