modules/admin-full, modules/admin-mini: prevent addremove in system page

This commit is contained in:
Jo-Philipp Wich 2009-08-27 17:53:52 +00:00
parent 30f881974c
commit 71e5891354
2 changed files with 2 additions and 1 deletions

View file

@ -20,6 +20,7 @@ m = Map("system", translate("system"), translate("a_s_desc"))
s = m:section(TypedSection, "system", "") s = m:section(TypedSection, "system", "")
s.anonymous = true s.anonymous = true
s.addremove = false
local system, model, memtotal, memcached, membuffers, memfree = luci.sys.sysinfo() local system, model, memtotal, memcached, membuffers, memfree = luci.sys.sysinfo()
local uptime = luci.sys.uptime() local uptime = luci.sys.uptime()

View file

@ -21,7 +21,7 @@ m = Map("system", translate("system"), translate("a_s_desc"))
s = m:section(TypedSection, "system", "") s = m:section(TypedSection, "system", "")
s.anonymous = true s.anonymous = true
s.addremove = false
local system, model, memtotal, memcached, membuffers, memfree = luci.sys.sysinfo() local system, model, memtotal, memcached, membuffers, memfree = luci.sys.sysinfo()