From 7050de57fac898d639f711e442eccb2e2f5127b1 Mon Sep 17 00:00:00 2001 From: Michel Le Cocq Date: Wed, 24 Jun 2020 09:01:52 +0200 Subject: [PATCH] --- disable-encrypt-swap-partition.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/disable-encrypt-swap-partition.md b/disable-encrypt-swap-partition.md index b600e3c..dbc2f2b 100644 --- a/disable-encrypt-swap-partition.md +++ b/disable-encrypt-swap-partition.md @@ -51,10 +51,10 @@ GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=/dev/nvme0n1p2" update-grub ~~~ -* edit /etc/initramfs-tools/conf.d/resume. Replace the existing RESUME line with the following line. +* remove file */etc/initramfs-tools/conf.d/resume* ~~~ -printf "RESUME=/dev/nvme0n1p2" | tee /etc/initramfs-tools/conf.d/resume +rm /etc/initramfs-tools/conf.d/resume ~~~ Register these changes.