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.
This commit is contained in:
parent
d2c9ffac23
commit
232aea721c
6
doc/report.sh → doc/report.sh.tmpl
Executable file → Normal file
6
doc/report.sh → doc/report.sh.tmpl
Executable file → Normal file
@ -1,5 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
TINYPROXY_BIN=@TINYPROXY_LOCATION@/tinyproxy
|
||||
|
||||
(echo "date: "
|
||||
date
|
||||
echo "uname: "
|
||||
@ -7,8 +9,8 @@ uname -a
|
||||
echo "ps: "
|
||||
ps -auxw | grep '[t]inyproxy' -
|
||||
echo "ver: "
|
||||
if [ -x /usr/local/bin/tinyproxy ]; then
|
||||
/usr/local/bin/tinyproxy -v
|
||||
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
|
Loading…
Reference in New Issue
Block a user