summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-08-27 17:53:52 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-08-27 17:53:52 +0000
commit71e58913546a4d4babb18fd73415e758f92685fb (patch)
treef008cfa48d54728dcc9194581b2cf4e945178d24 /modules/admin-full
parent30f881974cd25ff5b430545db7152cab021e9cd6 (diff)
modules/admin-full, modules/admin-mini: prevent addremove in system page
Diffstat (limited to 'modules/admin-full')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_system/system.lua1
1 files changed, 1 insertions, 0 deletions
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 da51b452d..c37e72629 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_system/system.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_system/system.lua
@@ -20,6 +20,7 @@ m = Map("system", translate("system"), translate("a_s_desc"))
s = m:section(TypedSection, "system", "")
s.anonymous = true
+s.addremove = false
local system, model, memtotal, memcached, membuffers, memfree = luci.sys.sysinfo()
local uptime = luci.sys.uptime()