(no commit message)
authorSteven Barth <steven@midlink.org>
Fri, 11 Apr 2008 18:26:35 +0000 (18:26 +0000)
committerSteven Barth <steven@midlink.org>
Fri, 11 Apr 2008 18:26:35 +0000 (18:26 +0000)
core/contrib/ffluci [new file with mode: 0755]
core/contrib/ffluci-upload [new file with mode: 0755]
core/contrib/index.cgi [new file with mode: 0755]
core/contrib/index.html [new file with mode: 0644]
core/ffluci [deleted file]
core/ffluci-upload [deleted file]
core/index.cgi [deleted file]
core/index.html [deleted file]

diff --git a/core/contrib/ffluci b/core/contrib/ffluci
new file mode 100755 (executable)
index 0000000..e090d56
--- /dev/null
@@ -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()
+
diff --git a/core/contrib/ffluci-upload b/core/contrib/ffluci-upload
new file mode 100755 (executable)
index 0000000..0128c2d
--- /dev/null
@@ -0,0 +1,4 @@
+#!/usr/bin/haserl --shell=luac --upload-limit=6144
+-- This is a bit hacky: remove -upload from SCRIPT_NAME
+ENV.SCRIPT_NAME = ENV.SCRIPT_NAME:sub(1, #ENV.SCRIPT_NAME - 7)
+dofile("ffluci")
\ No newline at end of file
diff --git a/core/contrib/index.cgi b/core/contrib/index.cgi
new file mode 100755 (executable)
index 0000000..c9c98b0
--- /dev/null
@@ -0,0 +1,3 @@
+#!/usr/bin/haserl --shell=luac
+print("Status: 302 Found")
+print("Location: ffluci/admin\n")
diff --git a/core/contrib/index.html b/core/contrib/index.html
new file mode 100644 (file)
index 0000000..58387a5
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="refresh" content="0; URL=/cgi-bin/index.cgi" />
+</head>
+<body style="background-color: black">
+<a style="color: white; text-decoration: none" href="/cgi-bin/index.cgi">FFLuCI - Freifunk Lua Configuration Interface</a>
+</body>
+</html>
\ No newline at end of file
diff --git a/core/ffluci b/core/ffluci
deleted file mode 100755 (executable)
index e090d56..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/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()
-
diff --git a/core/ffluci-upload b/core/ffluci-upload
deleted file mode 100755 (executable)
index 0128c2d..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/usr/bin/haserl --shell=luac --upload-limit=6144
--- This is a bit hacky: remove -upload from SCRIPT_NAME
-ENV.SCRIPT_NAME = ENV.SCRIPT_NAME:sub(1, #ENV.SCRIPT_NAME - 7)
-dofile("ffluci")
\ No newline at end of file
diff --git a/core/index.cgi b/core/index.cgi
deleted file mode 100755 (executable)
index c9c98b0..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/haserl --shell=luac
-print("Status: 302 Found")
-print("Location: ffluci/admin\n")
diff --git a/core/index.html b/core/index.html
deleted file mode 100644 (file)
index 58387a5..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="refresh" content="0; URL=/cgi-bin/index.cgi" />
-</head>
-<body style="background-color: black">
-<a style="color: white; text-decoration: none" href="/cgi-bin/index.cgi">FFLuCI - Freifunk Lua Configuration Interface</a>
-</body>
-</html>
\ No newline at end of file