tinyproxy/doc/report.sh

15 lines
291 B
Bash
Raw Normal View History

#!/bin/sh
(echo "date: "
date
echo "uname: "
uname -a
echo "ps: "
2001-10-23 03:55:39 +00:00
ps -auxw | grep '[t]inyproxy' -
echo "ver: "
if [ -x /usr/local/bin/tinyproxy ]; then
/usr/local/bin/tinyproxy -v
else
echo no ver available.
2001-06-24 18:20:36 +00:00
fi;) 2>&1 | mail -s 'tinyproxy install report' rjkaes@users.sourceforge.net