summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-mini/luasrc/controller
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-08-18 01:08:37 +0000
committerSteven Barth <steven@midlink.org>2008-08-18 01:08:37 +0000
commitd037dc5abca2f45e136547cd855bfa6a77a6bb7c (patch)
tree5597035e949fef724305066463e49f00ef5cbca0 /modules/admin-mini/luasrc/controller
parent0c3fc70ddbf3f0fc0dcbb5d7c05285b0b2d12ccb (diff)
Updated Wifi Configuration in Mini, removed some orphaned pages
Diffstat (limited to 'modules/admin-mini/luasrc/controller')
-rw-r--r--modules/admin-mini/luasrc/controller/mini/network.lua1
-rw-r--r--modules/admin-mini/luasrc/controller/mini/wifi.lua24
2 files changed, 1 insertions, 24 deletions
diff --git a/modules/admin-mini/luasrc/controller/mini/network.lua b/modules/admin-mini/luasrc/controller/mini/network.lua
index 5bd587daf..1ea6dc52c 100644
--- a/modules/admin-mini/luasrc/controller/mini/network.lua
+++ b/modules/admin-mini/luasrc/controller/mini/network.lua
@@ -21,5 +21,6 @@ function index()
entry({"mini", "network"}, alias("mini", "network", "index"), i18n("network"), 20)
entry({"mini", "network", "index"}, cbi("mini/network"), i18n("general"), 1)
+ entry({"mini", "network", "wifi"}, cbi("mini/wifi"), i18n("wifi"), 10)
entry({"mini", "network", "dhcp"}, cbi("mini/dhcp"), "DHCP", 20)
end \ No newline at end of file
diff --git a/modules/admin-mini/luasrc/controller/mini/wifi.lua b/modules/admin-mini/luasrc/controller/mini/wifi.lua
deleted file mode 100644
index e879a2c7e..000000000
--- a/modules/admin-mini/luasrc/controller/mini/wifi.lua
+++ /dev/null
@@ -1,24 +0,0 @@
---[[
-LuCI - Lua Configuration Interface
-
-Copyright 2008 Steven Barth <steven@midlink.org>
-Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
-
-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.mini.wifi", package.seeall)
-
-function index()
- luci.i18n.loadc("admin-core")
- local i18n = luci.i18n.translate
-
- entry({"mini", "wifi"}, alias("mini", "wifi", "index"), i18n("wifi"), 30)
- entry({"mini", "wifi", "index"}, cbi("mini/wifi"), i18n("general"), 1)
- entry({"mini", "wifi", "scan"}, template("mini/iwscan"), i18n("wlanscan"), 10)
-end \ No newline at end of file