diff options
Diffstat (limited to 'applications/luci-app-ocserv')
4 files changed, 8 insertions, 48 deletions
diff --git a/applications/luci-app-ocserv/luasrc/controller/ocserv.lua b/applications/luci-app-ocserv/luasrc/controller/ocserv.lua index 229102da6..bb7fe3f2e 100644 --- a/applications/luci-app-ocserv/luasrc/controller/ocserv.lua +++ b/applications/luci-app-ocserv/luasrc/controller/ocserv.lua @@ -1,15 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2014 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> - -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 - -]]-- +-- Copyright 2014 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> +-- Licensed to the public under the Apache License 2.0. module("luci.controller.ocserv", package.seeall) diff --git a/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/main.lua b/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/main.lua index c4289f052..d354cf644 100644 --- a/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/main.lua +++ b/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/main.lua @@ -1,15 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2014 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> - -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 - -]]-- +-- Copyright 2014 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> +-- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" local has_ipv6 = fs.access("/proc/net/ipv6_route") diff --git a/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/user-config.lua b/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/user-config.lua index 3e241cb67..c50cb3918 100644 --- a/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/user-config.lua +++ b/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/user-config.lua @@ -1,15 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2014 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> - -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 - -]]-- +-- Copyright 2014 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> +-- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" local has_ipv6 = fs.access("/proc/net/ipv6_route") diff --git a/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/users.lua b/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/users.lua index 2f69c014e..e2a08acf3 100644 --- a/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/users.lua +++ b/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/users.lua @@ -1,15 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2014 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> - -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 - -]]-- +-- Copyright 2014 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> +-- Licensed to the public under the Apache License 2.0. local dsp = require "luci.dispatcher" local nixio = require "nixio" |