From 703ed1915c69911a95cab6e1fb6524629c976800 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Thu, 3 Feb 2022 21:31:55 +0100 Subject: Thu Feb 3 09:31:55 PM CET 2022 --- .bin/clear-efi-suspend | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 .bin/clear-efi-suspend (limited to '.bin/clear-efi-suspend') 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-* -- cgit v1.2.3