summarylogtreecommitdiffstats
path: root/diagnose.shutdown
blob: 5002753d4e1d3f4e46be5cef6535c91d55faf7f0 (plain)
1
2
3
4
5
#!/bin/sh
mount -o remount,rw /
cat /sys/kernel/debug/tracing/trace >/var/log/shutdown.log
mount -o remount,ro /