Skip to content
Snippets Groups Projects
Commit 9f7bb9c7 authored by maximilian attems's avatar maximilian attems
Browse files

init: support UUID for resume bootarg


Simliar to root, adds device link for UUID.

Signed-off-by: default avatarmaximilian attems <maks@debian.org>
parent b4fc5de0
No related branches found
No related tags found
No related merge requests found
......@@ -133,6 +133,10 @@ for x in $(cat /proc/cmdline); do
;;
resume=*)
RESUME="${x#resume=}"
case $RESUME in
UUID=*)
RESUME="/dev/disk/by-uuid/${RESUME#UUID=}"
esac
;;
resume_offset=*)
resume_offset="${x#resume_offset=}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment