diff options
author | Steven Barth <steven@midlink.org> | 2008-05-08 15:37:41 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-05-08 15:37:41 +0000 |
commit | aa9ccf77c6648515ba58c37b9345cdbd561028db (patch) | |
tree | b0270202d47b6c5e179f8475302bb3ef0d1c9402 /core/contrib | |
parent | a3a51464fd8cffa6d18fa3f18be9c699901abd0d (diff) |
* Mördercommit ;-)
* Major Repository Reorganisation
* API 0.4 Softfreeze to come
Diffstat (limited to 'core/contrib')
-rwxr-xr-x | core/contrib/ffluci | 4 | ||||
-rwxr-xr-x | core/contrib/ffluci-upload | 4 | ||||
-rwxr-xr-x | core/contrib/index.cgi | 3 | ||||
-rw-r--r-- | core/contrib/index.html | 10 | ||||
-rw-r--r-- | core/contrib/uci/freifunk | 26 | ||||
-rw-r--r-- | core/contrib/uci/luci | 35 | ||||
-rw-r--r-- | core/contrib/webuci_bootstrap.lua | 23 |
7 files changed, 0 insertions, 105 deletions
diff --git a/core/contrib/ffluci b/core/contrib/ffluci deleted file mode 100755 index 183a6ad412..0000000000 --- a/core/contrib/ffluci +++ /dev/null @@ -1,4 +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.dispatcher").httpdispatch()
\ No newline at end of file diff --git a/core/contrib/ffluci-upload b/core/contrib/ffluci-upload deleted file mode 100755 index 0128c2dd73..0000000000 --- a/core/contrib/ffluci-upload +++ /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/contrib/index.cgi b/core/contrib/index.cgi deleted file mode 100755 index 31705ccf27..0000000000 --- a/core/contrib/index.cgi +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/haserl --shell=luac -print("Status: 302 Found") -print("Location: ffluci\n") diff --git a/core/contrib/index.html b/core/contrib/index.html deleted file mode 100644 index 58387a5fec..0000000000 --- a/core/contrib/index.html +++ /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 diff --git a/core/contrib/uci/freifunk b/core/contrib/uci/freifunk deleted file mode 100644 index aba12e6367..0000000000 --- a/core/contrib/uci/freifunk +++ /dev/null @@ -1,26 +0,0 @@ -config public contact - option nickname - option name - option mail - option phone - option location - option geo - option note - -config public community - option name "Freifunk Halle" - option homepage http://halle.freifunk.net - option essid halle.freifunk.net - option bssid 02:CA:FF:EE:BA:BE - option realm netz.freifunk-halle.net - option channel 1 - option net 104.0.0.0 - option mask 255.0.0.0 - option dhcp 10.0.0.0 - option dhcpmask 255.255.255.0 - option dns "88.198.178.18 141.54.1.1 212.204.49.83 208.67.220.220 208.67.222.222" - -config settings routing - option internal 0 - option internet 0 -
\ No newline at end of file diff --git a/core/contrib/uci/luci b/core/contrib/uci/luci deleted file mode 100644 index a2b61f483a..0000000000 --- a/core/contrib/uci/luci +++ /dev/null @@ -1,35 +0,0 @@ -config core main - option lang de - option mediaurlbase /ffluci/media - -config core category_privileges - option public nobody:nogroup - -config extern flash_keep - option uci "/etc/config" - option dropbear "/etc/dropbear" - option openvpn "/etc/openvpn" - option passwd "/etc/passwd" - option ipkg "/etc/ipkg.conf" - option httpd "/etc/httpd.conf" - option firewall "/etc/firewall.user" - -config event uci_oncommit - option network "/etc/init.d/network restart" - option wireless "/etc/init.d/network restart" - option olsr "/sbin/reboot" - option dhcp "/etc/init.d/dnsmasq restart" - option luci_fw "/etc/init.d/luci_fw restart" - option dropbear "/etc/init.d/dropbear restart" - option httpd "/etc/init.d/httpd restart" - option fstab "/etc/init.d/fstab restart" - option qos "/etc/init.d/qos restart" - option luci_splash "/etc/init.d/luci_splash restart" - option freifunk "/etc/init.d/luci_freifunk restart" - -config internal languages - option de "Deutsch" - option en "English" - -config internal themes - option Fledermaus "/ffluci/media"
\ No newline at end of file diff --git a/core/contrib/webuci_bootstrap.lua b/core/contrib/webuci_bootstrap.lua deleted file mode 100644 index 50ac8184b7..0000000000 --- a/core/contrib/webuci_bootstrap.lua +++ /dev/null @@ -1,23 +0,0 @@ -package.path = "/usr/lib/lua/?.lua;/usr/lib/lua/?/init.lua;" .. package.path -package.cpath = "/usr/lib/lua/?.so;" .. package.cpath -module("webuci", package.seeall) - -function prepare_req(uri) - env = {} - env.REQUEST_URI = uri - require("ffluci.menu").get() -end - -function init_req(context) - env.SERVER_PROTOCOL = context.server_proto - env.REMOTE_ADDR = context.remote_addr - env.REQUEST_METHOD = context.request_method - env.PATH_INFO = "/" .. context.uri - env.REMOTE_PORT = context.remote_port - env.SERVER_ADDR = context.server_addr - env.SCRIPT_NAME = env.REQUEST_URI:sub(1, #env.REQUEST_URI - #env.PATH_INFO) -end - -function handle_req(context) - require("ffluci.dispatcher").httpdispatch() -end
\ No newline at end of file |