From c38117d2ad91fe2a912e1cfcb9949bb20371127d Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Tue, 23 Jan 2018 13:12:53 +0100 Subject: [PATCH] luci-app-wman3: add license header to all files Signed-off-by: Florian Eckert --- .../luci-app-mwan3/luasrc/controller/mwan3.lua | 4 ++++ .../luasrc/model/cbi/mwan/globalsconfig.lua | 15 ++------------- .../luasrc/model/cbi/mwan/interface.lua | 4 ++++ .../luasrc/model/cbi/mwan/interfaceconfig.lua | 4 ++++ .../luasrc/model/cbi/mwan/member.lua | 4 ++++ .../luasrc/model/cbi/mwan/memberconfig.lua | 4 ++++ .../luasrc/model/cbi/mwan/notify.lua | 4 ++++ .../luasrc/model/cbi/mwan/policy.lua | 4 ++++ .../luasrc/model/cbi/mwan/policyconfig.lua | 4 ++++ .../luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua | 4 ++++ .../luasrc/model/cbi/mwan/ruleconfig.lua | 4 ++++ .../view/mwan/overview_status_interface.htm | 6 ++++++ .../luasrc/view/mwan/status_detail.htm | 6 ++++++ .../luasrc/view/mwan/status_diagnostics.htm | 6 ++++++ .../luasrc/view/mwan/status_interface.htm | 6 ++++++ .../luasrc/view/mwan/status_troubleshooting.htm | 6 ++++++ 16 files changed, 72 insertions(+), 13 deletions(-) diff --git a/applications/luci-app-mwan3/luasrc/controller/mwan3.lua b/applications/luci-app-mwan3/luasrc/controller/mwan3.lua index 5249d4e22..64ee9f548 100644 --- a/applications/luci-app-mwan3/luasrc/controller/mwan3.lua +++ b/applications/luci-app-mwan3/luasrc/controller/mwan3.lua @@ -1,3 +1,7 @@ +-- Copyright 2014 Aedan Renner +-- Copyright 2018 Florian Eckert +-- Licensed to the public under the GNU General Public License v2. + module("luci.controller.mwan3", package.seeall) sys = require "luci.sys" diff --git a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua index b53d288d0..d8f90e1e2 100644 --- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua +++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/globalsconfig.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2017 Florian Eckert - -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$ -]]-- +-- Copyright 2017 Florian Eckert +-- Licensed to the public under the GNU General Public License v2. local net = require "luci.model.network".init() diff --git a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua index f680840fc..920dc6afb 100644 --- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua +++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua @@ -1,3 +1,7 @@ +-- Copyright 2014 Aedan Renner +-- Licensed to the public under the GNU General Public License v2. + dsp = require "luci.dispatcher" diff --git a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua index 9f1db08be..3a896d3bc 100644 --- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua +++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua @@ -1,3 +1,7 @@ +-- Copyright 2014 Aedan Renner +-- Copyright 2018 Florian Eckert +-- Licensed to the public under the GNU General Public License v2. + dsp = require "luci.dispatcher" arg[1] = arg[1] or "" diff --git a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/member.lua b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/member.lua index ebe1162c5..9b4ab102d 100644 --- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/member.lua +++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/member.lua @@ -1,3 +1,7 @@ +-- Copyright 2014 Aedan Renner +-- Copyright 2018 Florian Eckert +-- Licensed to the public under the GNU General Public License v2. + dsp = require "luci.dispatcher" diff --git a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/memberconfig.lua b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/memberconfig.lua index ade357f81..27d9a3e85 100644 --- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/memberconfig.lua +++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/memberconfig.lua @@ -1,3 +1,7 @@ +-- Copyright 2014 Aedan Renner +-- Copyright 2018 Florian Eckert +-- Licensed to the public under the GNU General Public License v2. + dsp = require "luci.dispatcher" arg[1] = arg[1] or "" diff --git a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/notify.lua b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/notify.lua index 1019302ac..6f87a3d75 100644 --- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/notify.lua +++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/notify.lua @@ -1,3 +1,7 @@ +-- Copyright 2014 Aedan Renner +-- Copyright 2018 Florian Eckert +-- Licensed to the public under the GNU General Public License v2. + local fs = require "nixio.fs" local ut = require "luci.util" script = "/etc/mwan3.user" diff --git a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/policy.lua b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/policy.lua index 6d2ce7130..7f1278206 100644 --- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/policy.lua +++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/policy.lua @@ -1,3 +1,7 @@ +-- Copyright 2014 Aedan Renner +-- Copyright 2018 Florian Eckert +-- Licensed to the public under the GNU General Public License v2. + dsp = require "luci.dispatcher" diff --git a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/policyconfig.lua b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/policyconfig.lua index 1f8da0f2d..d1a063d09 100644 --- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/policyconfig.lua +++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/policyconfig.lua @@ -1,3 +1,7 @@ +-- Copyright 2014 Aedan Renner +-- Copyright 2018 Florian Eckert +-- Licensed to the public under the GNU General Public License v2. + dsp = require "luci.dispatcher" arg[1] = arg[1] or "" diff --git a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua index 5b19693e6..cb2a99537 100644 --- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua +++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua @@ -1,3 +1,7 @@ +-- Copyright 2014 Aedan Renner +-- Copyright 2018 Florian Eckert +-- Licensed to the public under the GNU General Public License v2. + dsp = require "luci.dispatcher" diff --git a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua index 712ada03e..84adfcf91 100644 --- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua +++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua @@ -1,3 +1,7 @@ +-- Copyright 2014 Aedan Renner +-- Copyright 2018 Florian Eckert +-- Licensed to the public under the GNU General Public License v2. + dsp = require "luci.dispatcher" arg[1] = arg[1] or "" diff --git a/applications/luci-app-mwan3/luasrc/view/mwan/overview_status_interface.htm b/applications/luci-app-mwan3/luasrc/view/mwan/overview_status_interface.htm index 279f140ba..6dc3d1274 100644 --- a/applications/luci-app-mwan3/luasrc/view/mwan/overview_status_interface.htm +++ b/applications/luci-app-mwan3/luasrc/view/mwan/overview_status_interface.htm @@ -1,3 +1,9 @@ +<%# + Copyright 2014 Aedan Renner + Copyright 2018 Florian Eckert + Licensed to the public under the GNU General Public License v2. +-%> +