Wifi devices should not be deletable (UVL override)
[project/luci.git] / modules / admin-mini / luasrc / model / cbi / mini / wifi.lua
index 31242b7..7327b9e 100644 (file)
@@ -127,6 +127,7 @@ end
 -- Config Section --
 
 s = m:section(NamedSection, wifidevs[1], "wifi-device", translate("devices"))
+s.addremove = false
 
 en = s:option(Flag, "disabled", translate("enable"))
 en.enabled = "0"