grub-efi/debian/grub-common.pm-sleep
2023-08-16 16:37:14 +08:00

12 lines
210 B
Bash

#!/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