Apache/2.4.7 (Ubuntu) Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) safemode : OFF MySQL: ON | Perl: ON | cURL: OFF | WGet: ON > / etc / pm / sleep.d / | server ip : 104.21.89.46 your ip : 172.69.130.111 H O M E |
Filename | /etc/pm/sleep.d/10_grub-common |
Size | 210 |
Permission | rwxr-xr-x |
Owner | root : root |
Create time | 27-Apr-2025 09:58 |
Last modified | 23-Mar-2019 03:52 |
Last accessed | 07-Jul-2025 01:32 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
#!/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
# 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