From 8e67fbf68ffeb9eb5f026dd482d73b021660bf9b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 12:54:18 +0200 Subject: Adding debian version 2.06-3~deb11u6. Signed-off-by: Daniel Baumann --- debian/grub-common.pm-sleep | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 debian/grub-common.pm-sleep (limited to 'debian/grub-common.pm-sleep') diff --git a/debian/grub-common.pm-sleep b/debian/grub-common.pm-sleep new file mode 100644 index 0000000..eaedb04 --- /dev/null +++ b/debian/grub-common.pm-sleep @@ -0,0 +1,11 @@ +#!/bin/sh + +# Tell grub that resume was successful + +case "$1" in + thaw) + [ -s /boot/grub/grubenv ] || rm -f /boot/grub/grubenv + mkdir -p /boot/grub + grub-editenv /boot/grub/grubenv unset recordfail + ;; +esac -- cgit v1.2.3