File: grub-common.pm-sleep

package info (click to toggle)
grub2 2.04-12
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 65,464 kB
  • sloc: ansic: 403,211; asm: 16,224; sh: 9,816; cpp: 2,049; makefile: 1,538; python: 1,468; lex: 393; yacc: 268; awk: 79; sed: 59; lisp: 50; perl: 31
file content (11 lines) | stat: -rw-r--r-- 210 bytes parent folder | download | duplicates (14)
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