summaryrefslogtreecommitdiffhomepage
path: root/libs/sgi-haserl/root/www/cgi-bin/luci-upload
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-05-27 09:33:52 +0000
committerSteven Barth <steven@midlink.org>2008-05-27 09:33:52 +0000
commit93ff578ac8f0cd4772285a6ea983cf02cc9be620 (patch)
treef766e8c0be94fe317673cefee879fbf73bc8cbd9 /libs/sgi-haserl/root/www/cgi-bin/luci-upload
parent30c8b259e1b7012f7c16c1ee5aeb1997e44dcbdc (diff)
* 3rd Package reorgnaisation
* Moved core, web, cbi to libs * Refactored OpenWRT Makefile to separate Libraries, Webinterface Components, Freifunk packages
Diffstat (limited to 'libs/sgi-haserl/root/www/cgi-bin/luci-upload')
-rwxr-xr-xlibs/sgi-haserl/root/www/cgi-bin/luci-upload4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/sgi-haserl/root/www/cgi-bin/luci-upload b/libs/sgi-haserl/root/www/cgi-bin/luci-upload
new file mode 100755
index 0000000000..371967ce98
--- /dev/null
+++ b/libs/sgi-haserl/root/www/cgi-bin/luci-upload
@@ -0,0 +1,4 @@
+#!/usr/bin/haserl --shell=luac --upload-limit=16384
+-- This is a bit hacky: remove -upload from SCRIPT_NAME
+ENV.SCRIPT_NAME = ENV.SCRIPT_NAME:sub(1, #ENV.SCRIPT_NAME - 7)
+dofile("luci") \ No newline at end of file