From 5c9320ddf1badbf59807c8442ff2ed0f9a6f1d7b Mon Sep 17 00:00:00 2001
From: Holden Rohrer
Date: Fri, 24 Apr 2020 18:28:22 -0400
Subject: added hibernation support
---
src/etc/default/grub.orig | 4 ++--
src/etc/mkinitcpio.conf | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
(limited to 'src')
diff --git a/src/etc/default/grub.orig b/src/etc/default/grub.orig
index bc56099..99bbdcf 100644
--- a/src/etc/default/grub.orig
+++ b/src/etc/default/grub.orig
@@ -1,10 +1,10 @@
# GRUB boot loader configuration
GRUB_DEFAULT=0
-GRUB_TIMEOUT=1
+GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet"
-GRUB_CMDLINE_LINUX="cryptdevice=UUID=%%UUID%%:cryptlvm root=/dev/Crypt/root"
+GRUB_CMDLINE_LINUX="cryptdevice=UUID=%%UUID%%:cryptlvm root=/dev/Crypt/root resume=/dev/Crypt/swap"
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
diff --git a/src/etc/mkinitcpio.conf b/src/etc/mkinitcpio.conf
index ed06478..619e42f 100644
--- a/src/etc/mkinitcpio.conf
+++ b/src/etc/mkinitcpio.conf
@@ -4,4 +4,4 @@ BINARIES=()
FILES=()
-HOOKS=(base udev autodetect keyboard keymap consolefont modconf block encrypt lvm2 filesystems fsck)
+HOOKS=(base udev autodetect keyboard keymap consolefont modconf block encrypt lvm2 filesystems resume fsck)
--
cgit