summaryrefslogtreecommitdiffhomepage
path: root/modules/rpc/luasrc
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-09-05 19:25:57 +0000
committerSteven Barth <steven@midlink.org>2008-09-05 19:25:57 +0000
commitcd53740e0f117885dddcd9781b2209ead7170ae5 (patch)
treee66773dd0491de109305d732119953988164e2ea /modules/rpc/luasrc
parentee613dd296b76b00577510e60db0cb880e87d469 (diff)
Move RPC-bidnings out of the way to prevent the indexer to require them
Diffstat (limited to 'modules/rpc/luasrc')
-rw-r--r--modules/rpc/luasrc/controller/rpc.lua4
-rw-r--r--modules/rpc/luasrc/jsonrpcbind/uci.lua (renamed from modules/rpc/luasrc/controller/rpc/uci.lua)0
-rw-r--r--modules/rpc/luasrc/jsonrpcbind/uvl.lua (renamed from modules/rpc/luasrc/controller/rpc/uvl.lua)0
3 files changed, 2 insertions, 2 deletions
diff --git a/modules/rpc/luasrc/controller/rpc.lua b/modules/rpc/luasrc/controller/rpc.lua
index 2a99075d2..2eef7a0eb 100644
--- a/modules/rpc/luasrc/controller/rpc.lua
+++ b/modules/rpc/luasrc/controller/rpc.lua
@@ -77,7 +77,7 @@ function rpc_uci()
luci.http.status(404, "Not Found")
return nil
end
- local uci = require "luci.controller.rpc.uci"
+ local uci = require "luci.jsonrpcbind.uci"
local jsonrpc = require "luci.jsonrpc"
local http = require "luci.http"
local ltn12 = require "luci.ltn12"
@@ -91,7 +91,7 @@ function rpc_uvl()
luci.http.status(404, "Not Found")
return nil
end
- local uvl = require "luci.controller.rpc.uvl"
+ local uvl = require "luci.jsonrpcbind.uvl"
local jsonrpc = require "luci.jsonrpc"
local http = require "luci.http"
local ltn12 = require "luci.ltn12"
diff --git a/modules/rpc/luasrc/controller/rpc/uci.lua b/modules/rpc/luasrc/jsonrpcbind/uci.lua
index de7da2de7..de7da2de7 100644
--- a/modules/rpc/luasrc/controller/rpc/uci.lua
+++ b/modules/rpc/luasrc/jsonrpcbind/uci.lua
diff --git a/modules/rpc/luasrc/controller/rpc/uvl.lua b/modules/rpc/luasrc/jsonrpcbind/uvl.lua
index 5214bafe7..5214bafe7 100644
--- a/modules/rpc/luasrc/controller/rpc/uvl.lua
+++ b/modules/rpc/luasrc/jsonrpcbind/uvl.lua