summaryrefslogtreecommitdiffstats
path: root/debian/grub-common.pm-sleep
blob: eaedb04d7864a75440fd90475cadb70884e6a72b (plain)
1
2
3
4
5
6
7
8
9
10
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