From fda50eb103a77935b31ce9f2d247917958e4d788 Mon Sep 17 00:00:00 2001 From: mvoelkel Date: Thu, 24 Sep 2015 19:09:28 +0200 Subject: [PATCH] Rmeoved unused files --- octoserve/var/www/ltest.lua | 25 ------------------------- octoserve/var/www/stream.lua | 16 ---------------- 2 files changed, 41 deletions(-) delete mode 100644 octoserve/var/www/ltest.lua delete mode 100644 octoserve/var/www/stream.lua diff --git a/octoserve/var/www/ltest.lua b/octoserve/var/www/ltest.lua deleted file mode 100644 index 1096802..0000000 --- a/octoserve/var/www/ltest.lua +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/lua - --- HTTP header -print [[ -Content-Type: text/plain -Set-Cookie: foo=bar -Set-Cookie: wonder=always - -]] - --- body of page - --- find all environment variables using bash and a temporary file - -fname = os.tmpname () -os.execute ("/bin/sh -c set > " .. fname) -f = io.open (fname, "r") -- open it -s = f:read ("*a") -- read all of it -print (s) -f:close () -- close it -os.remove (fname) - -print("") -params = io.stdin:read("*a") -print(params) \ No newline at end of file diff --git a/octoserve/var/www/stream.lua b/octoserve/var/www/stream.lua deleted file mode 100644 index 197d42f..0000000 --- a/octoserve/var/www/stream.lua +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/lua - - -print("HTTP/1.0 200\r") -print("Content-type: application/sdp\r") -print("\r") - -local query = os.getenv("QUERY_STRING") - -print("v=0\r") -print("o=- 2890844526 2890842807 IN IP4 10.0.4.31\r") -print("s=RTSP Session\r") -print("t=0 0\r") -print("m=video 0 RTP/AVP 33\r") -print("a=control:stream=1\r") -print("a=fmtp:33\r")