Wifi devices should not be deletable (UVL override)

This commit is contained in:
Steven Barth 2008-10-31 10:03:48 +00:00
parent b74e8cfb22
commit 9fb0f37769
2 changed files with 2 additions and 1 deletions

View file

@ -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 = ""

View 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"