modules/admin-full, modules/admin-mini: prevent addremove in system page
This commit is contained in:
parent
30f881974c
commit
71e5891354
2 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue