diff options
author | Steven Barth <steven@midlink.org> | 2008-06-28 16:03:54 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-06-28 16:03:54 +0000 |
commit | 00aceaf624d8e5da2a8f3df161d52599aae2ac41 (patch) | |
tree | c18d8c411f8d4a02762a478348fd8a86b4f56f5a /libs/sgi-cgi | |
parent | 7f56bf947599b20e2cf50018e160e602d5516e5f (diff) |
* libs/web: Switched from HTTP-Basic-Auth to Session-Auth
* Updated Makefiles for better testing environment integration
* Fixed libs/sgi-luci
Diffstat (limited to 'libs/sgi-cgi')
-rwxr-xr-x | libs/sgi-cgi/ipkg/postinst | 10 | ||||
-rw-r--r-- | libs/sgi-cgi/luasrc/sgi/cgi.lua | 2 |
2 files changed, 1 insertions, 11 deletions
diff --git a/libs/sgi-cgi/ipkg/postinst b/libs/sgi-cgi/ipkg/postinst deleted file mode 100755 index d8780c2e7..000000000 --- a/libs/sgi-cgi/ipkg/postinst +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -PATTERNS='/cgi-bin/luci/admin:root:$p$root' - -for i in $PATTERNS -do - grep "$i" ${IPKG_INSTROOT}/etc/httpd.conf >/dev/null 2>/dev/null || echo "$i" >> ${IPKG_INSTROOT}/etc/httpd.conf -done - -[ -n "${IPKG_INSTROOT}" ] || /etc/init.d/httpd restart - diff --git a/libs/sgi-cgi/luasrc/sgi/cgi.lua b/libs/sgi-cgi/luasrc/sgi/cgi.lua index 8ba4c54a3..5555e4a05 100644 --- a/libs/sgi-cgi/luasrc/sgi/cgi.lua +++ b/libs/sgi-cgi/luasrc/sgi/cgi.lua @@ -47,7 +47,7 @@ function run() print(id) break; end - + if id == 1 then io.write("Status: " .. tostring(data1) .. " " .. data2 .. "\n") elseif id == 2 then |