patch #7496
[mldonkey.git] / distrib / make_buginfo
blob211ffd329160a0344f46f22fb12a95e0eaa20ebd
1 #!/bin/sh
3 echo
4 echo "This program needs to be started from inside mldonkey directory."
5 echo "It won't send any information, it only creates one file that you"
6 echo "are free to send or not with your bug report."
7 echo
8 echo "Informations on your downloads, shared files and IP address will"
9 echo "be included in the created file."
10 echo
11 echo "If you have changed your incoming/, temp/ and torrents/ directories,"
12 echo "Create links incoming, temp and torrents to them before starting"
13 echo "this program."
14 echo
15 echo "You should send this information to bug-config@mldonkey.net with the"
16 echo "corresponding bug number of Savannah or the forum thread name. This"
17 echo "information will be kept private to the main developers."
18 echo
19 echo -n "Building file 'buginfo.tar.gz'..."
21 rm -f buginfo.tar.gz
22 mkdir -p buginfo
23 cp -f *.ini buginfo/
24 uname -a &> buginfo/uname
25 df &> buginfo/df
26 (ls -lR; df .) &> buginfo/mldonkey.directory
27 (cd incoming; ls -lR; df .) &> buginfo/incoming.directory
28 (cd temp; ls -lR; df .) &> buginfo/temp.directory
29 (cd torrents; ls -lR; df .) &> buginfo/torrents.directory
30 id &> buginfo/id
31 ifconfig &> buginfo/computer
33 tar cf buginfo.tar buginfo
34 rm -rf buginfo
35 gzip buginfo.tar
37 echo "done"