From 59fbccbb3179214c7e45f749a3fb5bb2cc3c2bc5 Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Sun, 23 Jun 2024 20:39:57 -0400 Subject: [PATCH] Correct SwapUUID typo --- lmde-expert.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lmde-expert.sh b/lmde-expert.sh index 4e62ede..b22008c 100755 --- a/lmde-expert.sh +++ b/lmde-expert.sh @@ -188,7 +188,7 @@ function expert_step() { fi SwapUUID=$(grep btrfs /target/etc/fstab | head -n1 | cut -f1) SwapOffset=$(btrfs inspect-internal map-swapfile -r /target/swap/hibernate.swp) - ${cmd} sed -i "/^GRUB_CMDLINE_LINUX_DEFAULT=/ s/\(\"[^\"]*\)$/ resume=UUID=${SwapUUID} resume_offset=${SwapOffset}&/" /target/etc/default/grub.d/50_lmde.cfg + ${cmd} sed -i "/^GRUB_CMDLINE_LINUX_DEFAULT=/ s/\(\"[^\"]*\)$/ resume=${SwapUUID} resume_offset=${SwapOffset}&/" /target/etc/default/grub.d/50_lmde.cfg fi }