Add chumby photo CGI
This commit is contained in:
parent
68c507a91b
commit
c126ef9c48
2
Makefile
2
Makefile
|
@ -8,7 +8,7 @@ HTML = index.html
|
||||||
|
|
||||||
# Things to copy
|
# Things to copy
|
||||||
COPY += mdwntohtml template.xml
|
COPY += mdwntohtml template.xml
|
||||||
COPY += face.png geneweb.cgi gitweb.cgi
|
COPY += face.png geneweb.cgi chumby-photo.cgi
|
||||||
COPY += format.css default.css print.css
|
COPY += format.css default.css print.css
|
||||||
COPY += gitweb.cgi git-logo.png gitweb.css gitweb.conf
|
COPY += gitweb.cgi git-logo.png gitweb.css gitweb.conf
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
cd /home/neale/lib/images/chumby
|
||||||
|
|
||||||
|
echo Content-type: image/jpeg
|
||||||
|
echo
|
||||||
|
fn=$(ls *.jpg | shuf | head -n1)
|
||||||
|
cat $fn
|
Loading…
Reference in New Issue