summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/luasrc/sgi
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-01-16 23:38:38 +0100
committerJo-Philipp Wich <jow@openwrt.org>2015-01-16 23:38:38 +0100
commit7a3493b1f7d75a3945279115324cf2ff4da26b7b (patch)
treed040709364d5f3f25a6792ac695c3b0598f909bd /modules/luci-base/luasrc/sgi
parent998011462408e76c1a766afd5a6fe7ce82393218 (diff)
Globally reduce copyright headers
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'modules/luci-base/luasrc/sgi')
-rw-r--r--modules/luci-base/luasrc/sgi/cgi.lua26
-rw-r--r--modules/luci-base/luasrc/sgi/uhttpd.lua20
2 files changed, 4 insertions, 42 deletions
diff --git a/modules/luci-base/luasrc/sgi/cgi.lua b/modules/luci-base/luasrc/sgi/cgi.lua
index 04ae9aa59..68ae17a9e 100644
--- a/modules/luci-base/luasrc/sgi/cgi.lua
+++ b/modules/luci-base/luasrc/sgi/cgi.lua
@@ -1,28 +1,6 @@
---[[
-LuCI - SGI-Module for CGI
+-- Copyright 2008 Steven Barth <steven@midlink.org>
+-- Licensed to the public under the Apache License 2.0.
-Description:
-Server Gateway Interface for CGI
-
-FileId:
-$Id$
-
-License:
-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
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-]]--
exectime = os.clock()
module("luci.sgi.cgi", package.seeall)
local ltn12 = require("luci.ltn12")
diff --git a/modules/luci-base/luasrc/sgi/uhttpd.lua b/modules/luci-base/luasrc/sgi/uhttpd.lua
index db8780f7e..64395fe53 100644
--- a/modules/luci-base/luasrc/sgi/uhttpd.lua
+++ b/modules/luci-base/luasrc/sgi/uhttpd.lua
@@ -1,21 +1,5 @@
---[[
-LuCI - Server Gateway Interface for the uHTTPd server
-
-Copyright 2010 Jo-Philipp Wich <xm@subsignal.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
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-]]--
+-- Copyright 2010 Jo-Philipp Wich <xm@subsignal.org>
+-- Licensed to the public under the Apache License 2.0.
require "nixio.util"
require "luci.http"