#!/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" debug_file "/var/log/live-persist" debug_file "/var/lib/gdm3/tails.persistence"