diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2022-02-03 21:31:55 +0100 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2022-02-03 21:31:55 +0100 |
commit | 703ed1915c69911a95cab6e1fb6524629c976800 (patch) | |
tree | 1e4063eeace827aa557e910aa502ee173dd6e4ab /.bin/clear-efi-suspend | |
parent | d64d4a6a3924e144fe49b3d956320b37786a738a (diff) | |
download | dots-703ed1915c69911a95cab6e1fb6524629c976800.tar.gz |
Thu Feb 3 09:31:55 PM CET 2022
Diffstat (limited to '.bin/clear-efi-suspend')
-rwxr-xr-x | .bin/clear-efi-suspend | 10 |
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-* |