summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-coovachilli/luasrc
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-coovachilli/luasrc')
-rw-r--r--applications/luci-coovachilli/luasrc/controller/coovachilli. (renamed from applications/luci-coovachilli/luasrc/controller/chillispot.lua)0
-rw-r--r--applications/luci-coovachilli/luasrc/controller/coovachilli.lua26
-rw-r--r--applications/luci-coovachilli/luasrc/model/cbi/coovachilli.lua (renamed from applications/luci-coovachilli/luasrc/model/cbi/chillispot.lua)2
-rw-r--r--applications/luci-coovachilli/luasrc/model/cbi/coovachilli_auth.lua (renamed from applications/luci-coovachilli/luasrc/model/cbi/chillispot_auth.lua)2
-rw-r--r--applications/luci-coovachilli/luasrc/model/cbi/coovachilli_network.lua (renamed from applications/luci-coovachilli/luasrc/model/cbi/chillispot_network.lua)2
-rw-r--r--applications/luci-coovachilli/luasrc/model/cbi/coovachilli_radius.lua (renamed from applications/luci-coovachilli/luasrc/model/cbi/chillispot_radius.lua)2
6 files changed, 30 insertions, 4 deletions
diff --git a/applications/luci-coovachilli/luasrc/controller/chillispot.lua b/applications/luci-coovachilli/luasrc/controller/coovachilli.
index 4cb9797b2..4cb9797b2 100644
--- a/applications/luci-coovachilli/luasrc/controller/chillispot.lua
+++ b/applications/luci-coovachilli/luasrc/controller/coovachilli.
diff --git a/applications/luci-coovachilli/luasrc/controller/coovachilli.lua b/applications/luci-coovachilli/luasrc/controller/coovachilli.lua
new file mode 100644
index 000000000..beaa1b7eb
--- /dev/null
+++ b/applications/luci-coovachilli/luasrc/controller/coovachilli.lua
@@ -0,0 +1,26 @@
+--[[
+LuCI - Lua Configuration Interface
+
+Copyright 2008 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.coovachilli", package.seeall)
+
+function index()
+
+ require("luci.i18n")
+ local i18n = luci.i18n.translate
+
+ entry( { "admin", "services", "coovachilli" }, cbi("coovachilli"), i18n("coovachilli", "coovachilli"), 90)
+ entry( { "admin", "services", "coovachilli", "network" }, cbi("coovachilli_network"), i18n("coovachilli_network", "Network Configuration"), 10)
+ entry( { "admin", "services", "coovachilli", "radius" }, cbi("coovachilli_radius"), i18n("coovachilli_radius", "Radius Configuration"), 20)
+ entry( { "admin", "services", "coovachilli", "auth" }, cbi("coovachilli_auth"), i18n("coovachilli_auth", "UAM and MAC Authentication"), 30)
+
+end
diff --git a/applications/luci-coovachilli/luasrc/model/cbi/chillispot.lua b/applications/luci-coovachilli/luasrc/model/cbi/coovachilli.lua
index 48ec797f1..49c4fe57d 100644
--- a/applications/luci-coovachilli/luasrc/model/cbi/chillispot.lua
+++ b/applications/luci-coovachilli/luasrc/model/cbi/coovachilli.lua
@@ -14,7 +14,7 @@ $Id$
]]--
-m = Map("chillispot")
+m = Map("coovachilli")
-- general
s1 = m:section(TypedSection, "general")
diff --git a/applications/luci-coovachilli/luasrc/model/cbi/chillispot_auth.lua b/applications/luci-coovachilli/luasrc/model/cbi/coovachilli_auth.lua
index 8f033f070..33c6efede 100644
--- a/applications/luci-coovachilli/luasrc/model/cbi/chillispot_auth.lua
+++ b/applications/luci-coovachilli/luasrc/model/cbi/coovachilli_auth.lua
@@ -14,7 +14,7 @@ $Id$
]]--
-m = Map("chillispot")
+m = Map("coovachilli")
-- uam config
s1 = m:section(TypedSection, "uam")
diff --git a/applications/luci-coovachilli/luasrc/model/cbi/chillispot_network.lua b/applications/luci-coovachilli/luasrc/model/cbi/coovachilli_network.lua
index e26f32e1a..2209a5230 100644
--- a/applications/luci-coovachilli/luasrc/model/cbi/chillispot_network.lua
+++ b/applications/luci-coovachilli/luasrc/model/cbi/coovachilli_network.lua
@@ -16,7 +16,7 @@ $Id$
require("luci.sys")
require("luci.ip")
-m = Map("chillispot")
+m = Map("coovachilli")
-- tun
s1 = m:section(TypedSection, "tun")
diff --git a/applications/luci-coovachilli/luasrc/model/cbi/chillispot_radius.lua b/applications/luci-coovachilli/luasrc/model/cbi/coovachilli_radius.lua
index 568c92f83..195a8cc87 100644
--- a/applications/luci-coovachilli/luasrc/model/cbi/chillispot_radius.lua
+++ b/applications/luci-coovachilli/luasrc/model/cbi/coovachilli_radius.lua
@@ -14,7 +14,7 @@ $Id$
]]--
-m = Map("chillispot")
+m = Map("coovachilli")
-- radius server
s1 = m:section(TypedSection, "radius")