summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-mini
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-10-31 09:35:18 +0000
committerSteven Barth <steven@midlink.org>2008-10-31 09:35:18 +0000
commit803cbec182daaa76a91c6fb76682cfb1f9824e38 (patch)
tree122d54863eef5dacb4162fa4d72cab98f287eff2 /modules/admin-mini
parent8c4492db5fac28d1c143931316e4ccb7f877e6ec (diff)
UVL related override fixes for Essentials
Diffstat (limited to 'modules/admin-mini')
-rw-r--r--modules/admin-mini/luasrc/model/cbi/mini/dhcp.lua3
-rw-r--r--modules/admin-mini/luasrc/model/cbi/mini/wifi.lua1
2 files changed, 4 insertions, 0 deletions
diff --git a/modules/admin-mini/luasrc/model/cbi/mini/dhcp.lua b/modules/admin-mini/luasrc/model/cbi/mini/dhcp.lua
index e01890f0a3..2aadded3ee 100644
--- a/modules/admin-mini/luasrc/model/cbi/mini/dhcp.lua
+++ b/modules/admin-mini/luasrc/model/cbi/mini/dhcp.lua
@@ -20,6 +20,9 @@ m = Map("dhcp", "DHCP")
s = m:section(TypedSection, "dhcp", "DHCP-Server")
s.anonymous = true
+s.addremove = false
+s.dynamic = false
+
s:depends("interface", "lan")
enable = s:option(ListValue, "ignore", translate("enable"), "")
diff --git a/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua b/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua
index e938826f51..31242b74bc 100644
--- a/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua
+++ b/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua
@@ -159,6 +159,7 @@ end
s = m:section(TypedSection, "wifi-iface", translate("m_n_local"))
s.anonymous = true
+s.addremove = false
s:option(Value, "ssid", translate("a_w_netid"))