UVL related override fixes for Essentials
authorSteven Barth <steven@midlink.org>
Fri, 31 Oct 2008 09:35:18 +0000 (09:35 +0000)
committerSteven Barth <steven@midlink.org>
Fri, 31 Oct 2008 09:35:18 +0000 (09:35 +0000)
modules/admin-mini/luasrc/model/cbi/mini/dhcp.lua
modules/admin-mini/luasrc/model/cbi/mini/wifi.lua

index e01890f..2aadded 100644 (file)
@@ -20,6 +20,9 @@ m = Map("dhcp", "DHCP")
 
 s = m:section(TypedSection, "dhcp", "DHCP-Server")
 s.anonymous = true
 
 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"), "")
 s:depends("interface", "lan")
 
 enable = s:option(ListValue, "ignore", translate("enable"), "")
index e938826..31242b7 100644 (file)
@@ -159,6 +159,7 @@ end
 
 s = m:section(TypedSection, "wifi-iface", translate("m_n_local"))
 s.anonymous = true
 
 s = m:section(TypedSection, "wifi-iface", translate("m_n_local"))
 s.anonymous = true
+s.addremove = false
 
 s:option(Value, "ssid", translate("a_w_netid"))
 
 
 s:option(Value, "ssid", translate("a_w_netid"))