]>
jfr.im git - irc/thales.git/blob - ReportUsage.sh
3 echo "You selected an ircd which isn't much used. I'd like to collect some"
4 echo "infos about who is using thales with this ircd. It will only take a"
5 echo "few seconds to answer the questions."
7 echo "Do you agree to answer them now [Y/N] ? (You don't need to answer them,"
8 echo "and it won't affect your usage of GNU Thales) "
11 if [ "X$answer" = "XN" -o "X$answer" = "Xn" ]; then
15 echo "On which network are you using thales ? Please give exact name, so that I"
16 echo "can eventually connect and say hi !"
20 echo "Which ircd are you using (please give the exact version number) ?"
24 echo "What is the main language used on your network ?"
28 echo "What is the approximate number of users on your network ?"
32 echo "What is your email address ? (you don't _need_ to answer this one)"
36 version
=`cat configure.in |grep AM_INIT_AUTOMAKE\(thales |sed -e 's/.*thales, \(.*\))/\1/'`
37 cat > mail.txt
<< ENDOFFILE
47 Please mail this file to thales-usage@lucas-nussbaum.net
50 echo "OK, that's all. Here are the results, saved in mail.txt :"
54 echo "Do you want me to mail the file using the standard unix 'mail'"
55 echo "command ? [Y/N]"
58 if [ "X$answer" = "XN" -o "X$answer" = "Xn" ]; then
59 echo "OK, please mail the content of mail.txt to thales-usage@lucas-nussbaum.net"
63 cat mail.txt
|mail -s "thales usage" thales
-usage@lucas
-nussbaum.net
64 echo "mail sent, thanks !"