summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-core/luasrc/controller/admin
diff options
context:
space:
mode:
Diffstat (limited to 'modules/admin-core/luasrc/controller/admin')
-rw-r--r--modules/admin-core/luasrc/controller/admin/index.lua13
-rw-r--r--modules/admin-core/luasrc/controller/admin/network.lua19
-rw-r--r--modules/admin-core/luasrc/controller/admin/services.lua13
-rw-r--r--modules/admin-core/luasrc/controller/admin/status.lua13
-rw-r--r--modules/admin-core/luasrc/controller/admin/system.lua13
-rw-r--r--modules/admin-core/luasrc/controller/admin/uci.lua13
-rw-r--r--modules/admin-core/luasrc/controller/admin/wifi.lua13
7 files changed, 91 insertions, 6 deletions
diff --git a/modules/admin-core/luasrc/controller/admin/index.lua b/modules/admin-core/luasrc/controller/admin/index.lua
index a6c57c6b09..93d2e47875 100644
--- a/modules/admin-core/luasrc/controller/admin/index.lua
+++ b/modules/admin-core/luasrc/controller/admin/index.lua
@@ -1,3 +1,16 @@
+--[[
+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.admin.index", package.seeall)
function index()
diff --git a/modules/admin-core/luasrc/controller/admin/network.lua b/modules/admin-core/luasrc/controller/admin/network.lua
index 397f2e4ca3..3f8c4f303c 100644
--- a/modules/admin-core/luasrc/controller/admin/network.lua
+++ b/modules/admin-core/luasrc/controller/admin/network.lua
@@ -1,3 +1,16 @@
+--[[
+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.admin.network", package.seeall)
function index()
@@ -30,10 +43,4 @@ function index()
page.target = cbi("admin_network/routes")
page.title = "Statische Routen"
page.order = 50
-
- if luci.fs.isfile("/etc/config/qos") then
- local page = node("admin", "network", "qos")
- page.target = cbi("admin_network/qos")
- page.title = "Quality of Service"
- end
end \ No newline at end of file
diff --git a/modules/admin-core/luasrc/controller/admin/services.lua b/modules/admin-core/luasrc/controller/admin/services.lua
index b0024fb4ad..59defbbbdf 100644
--- a/modules/admin-core/luasrc/controller/admin/services.lua
+++ b/modules/admin-core/luasrc/controller/admin/services.lua
@@ -1,3 +1,16 @@
+--[[
+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.admin.services", package.seeall)
function index()
diff --git a/modules/admin-core/luasrc/controller/admin/status.lua b/modules/admin-core/luasrc/controller/admin/status.lua
index afd6804f79..3a0f040747 100644
--- a/modules/admin-core/luasrc/controller/admin/status.lua
+++ b/modules/admin-core/luasrc/controller/admin/status.lua
@@ -1,3 +1,16 @@
+--[[
+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.admin.status", package.seeall)
function index()
diff --git a/modules/admin-core/luasrc/controller/admin/system.lua b/modules/admin-core/luasrc/controller/admin/system.lua
index 81034fddfa..ef4e303fb5 100644
--- a/modules/admin-core/luasrc/controller/admin/system.lua
+++ b/modules/admin-core/luasrc/controller/admin/system.lua
@@ -1,3 +1,16 @@
+--[[
+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.admin.system", package.seeall)
function index()
diff --git a/modules/admin-core/luasrc/controller/admin/uci.lua b/modules/admin-core/luasrc/controller/admin/uci.lua
index fc70b9b410..b69fef4cd2 100644
--- a/modules/admin-core/luasrc/controller/admin/uci.lua
+++ b/modules/admin-core/luasrc/controller/admin/uci.lua
@@ -1,3 +1,16 @@
+--[[
+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.admin.uci", package.seeall)
function index()
diff --git a/modules/admin-core/luasrc/controller/admin/wifi.lua b/modules/admin-core/luasrc/controller/admin/wifi.lua
index 84241b013e..4bef0b7a52 100644
--- a/modules/admin-core/luasrc/controller/admin/wifi.lua
+++ b/modules/admin-core/luasrc/controller/admin/wifi.lua
@@ -1,3 +1,16 @@
+--[[
+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.admin.wifi", package.seeall)
function index()