From cd53740e0f117885dddcd9781b2209ead7170ae5 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Fri, 5 Sep 2008 19:25:57 +0000 Subject: [PATCH] Move RPC-bidnings out of the way to prevent the indexer to require them --- modules/rpc/luasrc/controller/rpc.lua | 4 ++-- modules/rpc/luasrc/{controller/rpc => jsonrpcbind}/uci.lua | 0 modules/rpc/luasrc/{controller/rpc => jsonrpcbind}/uvl.lua | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename modules/rpc/luasrc/{controller/rpc => jsonrpcbind}/uci.lua (100%) rename modules/rpc/luasrc/{controller/rpc => jsonrpcbind}/uvl.lua (100%) 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 similarity index 100% rename from modules/rpc/luasrc/controller/rpc/uci.lua rename to modules/rpc/luasrc/jsonrpcbind/uci.lua diff --git a/modules/rpc/luasrc/controller/rpc/uvl.lua b/modules/rpc/luasrc/jsonrpcbind/uvl.lua similarity index 100% rename from modules/rpc/luasrc/controller/rpc/uvl.lua rename to modules/rpc/luasrc/jsonrpcbind/uvl.lua -- 2.25.1