From 8423ad783b2ad07818ceccb6e7433e8afaf27d13 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 10 Jan 2011 23:09:17 +0000 Subject: [PATCH] luci-0.10: merge r6702 --- modules/admin-full/luasrc/model/cbi/admin_system/system.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/admin-full/luasrc/model/cbi/admin_system/system.lua b/modules/admin-full/luasrc/model/cbi/admin_system/system.lua index f3c5a0143..7851f05ad 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_system/system.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_system/system.lua @@ -38,6 +38,9 @@ local uptime = luci.sys.uptime() s:option(DummyValue, "_system", translate("System")).value = system s:option(DummyValue, "_cpu", translate("Processor")).value = model +s:option(DummyValue, "_kernel", translate("Kernel")).value = + luci.util.exec("uname -r") or "?" + local load1, load5, load15 = luci.sys.loadavg() s:option(DummyValue, "_la", translate("Load")).value = string.format("%.2f, %.2f, %.2f", load1, load5, load15) -- 2.25.1