summaryrefslogtreecommitdiffstats
path: root/.bin/clear-efi-suspend
diff options
context:
space:
mode:
Diffstat (limited to '.bin/clear-efi-suspend')
-rwxr-xr-x.bin/clear-efi-suspend10
1 files changed, 10 insertions, 0 deletions
diff --git a/.bin/clear-efi-suspend b/.bin/clear-efi-suspend
new file mode 100755
index 0000000..9086ef3
--- /dev/null
+++ b/.bin/clear-efi-suspend
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -xe
+
+mkdir -p /dev/pstore
+mount -t pstore pstore /dev/pstore
+ls /dev/pstore
+rm -f /dev/pstore/*
+
+rm /sys/firmware/efi/efivars/dump-type0-*
remember that computers suck.