Last change
on this file since 372 was 30, checked in by bcornec, 20 years ago |
Id property added on files to allow for better conf. management
|
-
Property svn:keywords
set to
Id
|
File size:
847 bytes
|
Rev | Line | |
---|
[1] | 1 | #!/bin/sh
|
---|
| 2 |
|
---|
| 3 | Die() {
|
---|
| 4 | echo "$1" >> /dev/stderr
|
---|
| 5 | exit 1
|
---|
| 6 | }
|
---|
| 7 |
|
---|
| 8 |
|
---|
| 9 | echo -en "Insert a blank floppy and press ENTER"
|
---|
| 10 | read line
|
---|
| 11 | mke2fs /dev/fd0 || Die "Failed to format floppy disk"
|
---|
| 12 | mkdir -p /tmp/bug-me
|
---|
| 13 | cp /tmp/*log /tmp/bug-me/
|
---|
| 14 | cp /tmp/{fstab,mountlist.txt} /tmp/bug-me/
|
---|
| 15 | cat /proc/cpuinfo > /tmp/bug-me/cpuinfo.txt
|
---|
| 16 | uname -r > /tmp/bug-me/uname-r.txt
|
---|
| 17 | cat /proc/meminfo > /tmp/bug-me/meminfo.txt
|
---|
| 18 | tar -c /tmp/bug-me | gzip -9 > /tmp/bug-me.tgz
|
---|
| 19 | rm /tmp/bug-me -Rf
|
---|
| 20 | mount /dev/fd0 -t ext2 /mnt/floppy || Die "I cannot mount /dev/fd0 as filesystem type ext2 at /mnt/floppy."
|
---|
| 21 | cp -f /tmp/bug-me.tgz /mnt/floppy
|
---|
| 22 | umount /mnt/floppy
|
---|
| 23 | echo "I have copied bug-me.tgz to the floppy. Please send the file to hugo@firstlinux.net"
|
---|
| 24 | echo "Please make sure you have read the FAQ, the manual and preferably the log"
|
---|
| 25 | echo "and the mailing list before you seek assistance."
|
---|
| 26 |
|
---|
| 27 |
|
---|
| 28 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.