diff options
Diffstat (limited to 'modules/luci-mod-rpc/luasrc')
-rw-r--r-- | modules/luci-mod-rpc/luasrc/controller/rpc.lua | 17 | ||||
-rw-r--r-- | modules/luci-mod-rpc/luasrc/jsonrpc.lua | 17 | ||||
-rw-r--r-- | modules/luci-mod-rpc/luasrc/jsonrpcbind/uci.lua | 17 |
3 files changed, 9 insertions, 42 deletions
diff --git a/modules/luci-mod-rpc/luasrc/controller/rpc.lua b/modules/luci-mod-rpc/luasrc/controller/rpc.lua index 92947168e4..b6eff32db7 100644 --- a/modules/luci-mod-rpc/luasrc/controller/rpc.lua +++ b/modules/luci-mod-rpc/luasrc/controller/rpc.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth <steven@midlink.org> -Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> - -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 2008 Steven Barth <steven@midlink.org> +-- Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> +-- Licensed to the public under the Apache License 2.0. local require = require local pairs = pairs diff --git a/modules/luci-mod-rpc/luasrc/jsonrpc.lua b/modules/luci-mod-rpc/luasrc/jsonrpc.lua index 71c95d549b..dcdd2ce575 100644 --- a/modules/luci-mod-rpc/luasrc/jsonrpc.lua +++ b/modules/luci-mod-rpc/luasrc/jsonrpc.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth <steven@midlink.org> -Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> - -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 2008 Steven Barth <steven@midlink.org> +-- Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> +-- Licensed to the public under the Apache License 2.0. module("luci.jsonrpc", package.seeall) require "luci.json" diff --git a/modules/luci-mod-rpc/luasrc/jsonrpcbind/uci.lua b/modules/luci-mod-rpc/luasrc/jsonrpcbind/uci.lua index 195398674f..0e046612d6 100644 --- a/modules/luci-mod-rpc/luasrc/jsonrpcbind/uci.lua +++ b/modules/luci-mod-rpc/luasrc/jsonrpcbind/uci.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth <steven@midlink.org> -Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> - -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 2008 Steven Barth <steven@midlink.org> +-- Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> +-- Licensed to the public under the Apache License 2.0. local uci = require "luci.model.uci".cursor() local ucis = require "luci.model.uci".cursor_state() |