summaryrefslogtreecommitdiffhomepage
path: root/build/luci.cgi
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-04-16 13:38:27 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-04-16 13:38:27 +0000
commitdaca626e86ff51e72f6423f3fb69e1a1d16d7c59 (patch)
tree8dc36e0f39e5ad4a357aa3452589e898fe243c73 /build/luci.cgi
parentcf018eae4c9a8eb614ab18d9ed7d73723ca2335b (diff)
build: add runuhttpd sdk target
Diffstat (limited to 'build/luci.cgi')
-rwxr-xr-xbuild/luci.cgi8
1 files changed, 8 insertions, 0 deletions
diff --git a/build/luci.cgi b/build/luci.cgi
new file mode 100755
index 0000000000..f4b5900449
--- /dev/null
+++ b/build/luci.cgi
@@ -0,0 +1,8 @@
+#!/usr/bin/lua
+
+dofile "../../build/setup.lua"
+
+require "luci.cacheloader"
+require "luci.sgi.cgi"
+luci.dispatcher.indexcache = "/tmp/luci-indexcache"
+luci.sgi.cgi.run()