From 93ff578ac8f0cd4772285a6ea983cf02cc9be620 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Tue, 27 May 2008 09:33:52 +0000 Subject: * 3rd Package reorgnaisation * Moved core, web, cbi to libs * Refactored OpenWRT Makefile to separate Libraries, Webinterface Components, Freifunk packages --- libs/sgi-haserl/root/www/cgi-bin/index.cgi | 3 +++ libs/sgi-haserl/root/www/cgi-bin/luci | 2 ++ libs/sgi-haserl/root/www/cgi-bin/luci-upload | 4 ++++ libs/sgi-haserl/root/www/index.html | 10 ++++++++++ 4 files changed, 19 insertions(+) create mode 100755 libs/sgi-haserl/root/www/cgi-bin/index.cgi create mode 100755 libs/sgi-haserl/root/www/cgi-bin/luci create mode 100755 libs/sgi-haserl/root/www/cgi-bin/luci-upload create mode 100644 libs/sgi-haserl/root/www/index.html (limited to 'libs/sgi-haserl/root/www') diff --git a/libs/sgi-haserl/root/www/cgi-bin/index.cgi b/libs/sgi-haserl/root/www/cgi-bin/index.cgi new file mode 100755 index 000000000..aae8591c6 --- /dev/null +++ b/libs/sgi-haserl/root/www/cgi-bin/index.cgi @@ -0,0 +1,3 @@ +#!/usr/bin/haserl --shell=luac +print("Status: 302 Found") +print("Location: luci\n") diff --git a/libs/sgi-haserl/root/www/cgi-bin/luci b/libs/sgi-haserl/root/www/cgi-bin/luci new file mode 100755 index 000000000..13fec754e --- /dev/null +++ b/libs/sgi-haserl/root/www/cgi-bin/luci @@ -0,0 +1,2 @@ +#!/usr/bin/haserl --shell=luac +require("luci.dispatcher").httpdispatch() \ No newline at end of file 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 000000000..371967ce9 --- /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 diff --git a/libs/sgi-haserl/root/www/index.html b/libs/sgi-haserl/root/www/index.html new file mode 100644 index 000000000..39ba558df --- /dev/null +++ b/libs/sgi-haserl/root/www/index.html @@ -0,0 +1,10 @@ + + + + + + + +LuCI - Lua Configuration Interface + + \ No newline at end of file -- cgit v1.2.3