This file is indexed.

/etc/pm/sleep.d/10_grub-common is in grub-common 2.02~beta2-36ubuntu3.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 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