提交 7b99529d 编写于 作者: S Steven Barth

Wifi devices should not be deletable (UVL override)

上级 803cbec1
......@@ -17,7 +17,7 @@ arg[1] = arg[1] or ""
m = Map("wireless", translate("networks"), translate("a_w_networks1"))
s = m:section(NamedSection, arg[1], "wifi-device", translate("device") .. " " .. arg[1])
--s.addremove = true
s.addremove = false
back = s:option(DummyValue, "_overview", translate("overview"))
back.value = ""
......
......@@ -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"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册