summaryrefslogtreecommitdiff
path: root/doc/report.sh.tmpl
blob: 9cba6cbe772d5d4856f85c24785be1e2a95abc22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

TINYPROXY_BIN=@TINYPROXY_LOCATION@/tinyproxy

(echo "date: "
date
echo "uname: "
uname -a
echo "ps: "
ps -ef | 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