summaryrefslogtreecommitdiffhomepage
path: root/contrib/ffluci
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-03-02 21:52:58 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-03-02 21:52:58 +0000
commit3f5de3273c9e103b4909802e339db06fe0b53312 (patch)
tree793ef66c9456665f7b472e214d79b1078fccebe8 /contrib/ffluci
* new project: ff-luci - Freifunk Lua Configuration Interface
Diffstat (limited to 'contrib/ffluci')
-rwxr-xr-xcontrib/ffluci5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/ffluci b/contrib/ffluci
new file mode 100755
index 000000000..e090d560c
--- /dev/null
+++ b/contrib/ffluci
@@ -0,0 +1,5 @@
+#!/usr/bin/haserl --shell=luac
+package.path = "/usr/lib/lua/?.lua;/usr/lib/lua/?/init.lua;" .. package.path
+package.cpath = "/usr/lib/lua/?.so;" .. package.cpath
+require("ffluci").dispatch()
+