diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2003-03-17 04:20:19 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2003-03-17 04:20:19 +0000 |
commit | 232aea721c0e7cb007218924ee20272ba5e3ebbc (patch) | |
tree | 5bb3019bcf42b1e0d869c304a319b9fb7f09e311 /doc/report.sh.tmpl | |
parent | d2c9ffac237a7d48db06fa52585dfe8565b61be8 (diff) |
Moved the doc/report.sh script to doc/report.sh.tmpl file. The script
is then updated by the make procedure to reflect the correct location
of the tinyproxy executable.
Diffstat (limited to 'doc/report.sh.tmpl')
-rw-r--r-- | doc/report.sh.tmpl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/report.sh.tmpl b/doc/report.sh.tmpl new file mode 100644 index 0000000..f964000 --- /dev/null +++ b/doc/report.sh.tmpl @@ -0,0 +1,16 @@ +#!/bin/sh + +TINYPROXY_BIN=@TINYPROXY_LOCATION@/tinyproxy + +(echo "date: " +date +echo "uname: " +uname -a +echo "ps: " +ps -auxw | grep '[t]inyproxy' - +echo "ver: " +if [ -x $TINYPROXY_BIN ]; then + $TINYPROXY_BIN -v +else + echo no ver available. +fi;) 2>&1 | mail -s 'tinyproxy install report' rjkaes@users.sourceforge.net |