tails-debugging-info 482 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#!/bin/sh

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

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

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"
21 22
debug_file "/var/log/gdm3/:0-slave.log"
debug_file "/var/log/gdm3/:0-greeter.log"
23 24
debug_file "/var/log/live-persist"
debug_file "/var/lib/gdm3/tails.persistence"