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

index e01890f0a357f24558c75fea034ecf2f4dab88fe..2aadded3eef6e80aa40c75a35a8178b32e9666e7 100644 (file)
@@ -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"), "")
index e938826f51bda30ef3e6b9a424ecbde0a958d798..31242b74bc473fceb641c86aed4cfac9afb8870c 100644 (file)
@@ -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"))