From: Steven Barth Date: Fri, 31 Oct 2008 09:36:00 +0000 (+0000) Subject: UVL related override fixes for Essentials X-Git-Tag: 0.8.2~57 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b74e8cfb22c899bfc63a7b3aa34266cfbe394408;p=oweals%2Fluci.git UVL related override fixes for Essentials --- diff --git a/modules/admin-mini/luasrc/model/cbi/mini/dhcp.lua b/modules/admin-mini/luasrc/model/cbi/mini/dhcp.lua index e01890f0a..2aadded3e 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 e938826f5..31242b74b 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"))