tails-debugging-info 648 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/bin/sh

debug_command() {
    echo
    echo "===== output of command $@ ====="
    "$@"
}

debug_file() {
    echo
    echo "===== content of $1 ====="
    cat $1
}

15 16 17
debug_command /usr/sbin/dmidecode -s system-manufacturer
debug_command /usr/sbin/dmidecode -s system-product-name
debug_command /usr/sbin/dmidecode -s system-version
18 19 20 21 22 23
debug_command "/bin/dmesg"
debug_command "/bin/lsmod"
debug_command "/usr/bin/lspci"

debug_file "/etc/X11/xorg.conf"
debug_file "/var/log/Xorg.0.log"
24 25
debug_file "/var/log/gdm3/:0-slave.log"
debug_file "/var/log/gdm3/:0-greeter.log"
26 27
debug_file "/var/log/live-persist"
debug_file "/var/lib/gdm3/tails.persistence"