Correct SwapUUID typo
This commit is contained in:
parent
520f5363f5
commit
59fbccbb31
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ function expert_step() {
|
||||||
fi
|
fi
|
||||||
SwapUUID=$(grep btrfs /target/etc/fstab | head -n1 | cut -f1)
|
SwapUUID=$(grep btrfs /target/etc/fstab | head -n1 | cut -f1)
|
||||||
SwapOffset=$(btrfs inspect-internal map-swapfile -r /target/swap/hibernate.swp)
|
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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue