diff options
author | Steven Barth <steven@midlink.org> | 2008-10-31 10:03:27 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-10-31 10:03:27 +0000 |
commit | 7b99529d954a19f2b5003d2c14ae2e7a6a30d5cf (patch) | |
tree | 9af6f1114ba289d3da51a425dacc102d83c4ab9c /modules/admin-mini | |
parent | 803cbec182daaa76a91c6fb76682cfb1f9824e38 (diff) |
Wifi devices should not be deletable (UVL override)
Diffstat (limited to 'modules/admin-mini')
-rw-r--r-- | modules/admin-mini/luasrc/model/cbi/mini/wifi.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua b/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua index 31242b74b..7327b9e1d 100644 --- a/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua +++ b/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua @@ -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" |