diff options
author | Steven Barth <steven@midlink.org> | 2008-08-29 23:26:01 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-08-29 23:26:01 +0000 |
commit | ffd5c4ec656bd3f216c66b43587abcfdaf2b5c37 (patch) | |
tree | 243656197dd59fbb2b8d3d0af8928bf8700c26ed /modules/rpc/luasrc | |
parent | 5cfda95377accd59f488868180b17ca86327839d (diff) |
General optimizations, simplifications and improvements
Diffstat (limited to 'modules/rpc/luasrc')
-rw-r--r-- | modules/rpc/luasrc/controller/rpc.lua | 6 |
1 files changed, 5 insertions, 1 deletions
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() |