Remove unmaintained components: lucid, fastindex, niu
[project/luci.git] / modules / niu / luasrc / controller / niu / wireless.lua
diff --git a/modules/niu/luasrc/controller/niu/wireless.lua b/modules/niu/luasrc/controller/niu/wireless.lua
deleted file mode 100644 (file)
index 92ebffd..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
---[[
-LuCI - Lua Development Framework
-
-Copyright 2009 Steven Barth <steven@midlink.org>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-$Id$
-]]--
-
-module "luci.controller.niu.wireless"
-
-function index()
-       if not fs.access("/etc/config/wireless") then
-               return
-       end
-
-       local toniu = {on_success_to={"niu"}}
-       
-       local e = entry({"niu", "wireless"}, alias("niu"), _("Wireless"), 20)
-       --e.niu_dbtemplate = "niu/wireless"
-       e.niu_dbtasks = true
-       e.niu_dbicon = "icons32/network-wireless.png"
-
-       entry({"niu", "wireless", "ap"}, 
-       cbi("niu/wireless/ap", toniu), _("Configure Private Access Point"), 1)
-       
-       local bridge = false
-       uci.inst:foreach("wireless", "wifi-device", function(s)
-               if not bridge and (s.type == "mac80211" or s.type == "atheros") then
-                       entry({"niu", "wireless", "bridge"}, 
-                       cbi("niu/wireless/bridge", toniu), _("Join a local WDS network"), 2)
-                       bridge = true
-               end
-       end)
-end