From ffd5c4ec656bd3f216c66b43587abcfdaf2b5c37 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Fri, 29 Aug 2008 23:26:01 +0000 Subject: General optimizations, simplifications and improvements --- modules/rpc/luasrc/controller/rpc.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'modules/rpc') diff --git a/modules/rpc/luasrc/controller/rpc.lua b/modules/rpc/luasrc/controller/rpc.lua index 7581b08d2..1aeea69b4 100644 --- a/modules/rpc/luasrc/controller/rpc.lua +++ b/modules/rpc/luasrc/controller/rpc.lua @@ -36,20 +36,24 @@ function index() uci = entry({"rpc", "uci"}, call("rpc_uci")) uci.sysauth = "root" uci.sysauth_authenticator = authenticator + uci.notemplate = true fs = entry({"rpc", "fs"}, call("rpc_fs")) fs.sysauth = "root" fs.sysauth_authenticator = authenticator + fs.notemplate = true sys = entry({"rpc", "sys"}, call("rpc_sys")) sys.sysauth = "root" sys.sysauth_authenticator = authenticator + sys.notemplate = true ipkg = entry({"rpc", "ipkg"}, call("rpc_ipkg")) ipkg.sysauth = "root" ipkg.sysauth_authenticator = authenticator + ipkg.notemplate = true - uci = entry({"rpc", "auth"}, call("rpc_auth")) + entry({"rpc", "auth"}, call("rpc_auth")).notemplate = true end function rpc_auth() -- cgit v1.2.3