commit: 5e3215ff97e980bf52cceb230488b0587c965ba1 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> AuthorDate: Sun Mar 21 18:16:21 2021 +0000 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> CommitDate: Sun Mar 21 18:24:03 2021 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=5e3215ff
linuxrc: Adjust resume device messages Use same messages we use for root device. Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> defaults/linuxrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/defaults/linuxrc b/defaults/linuxrc index bd6d192..81e1050 100644 --- a/defaults/linuxrc +++ b/defaults/linuxrc @@ -646,6 +646,8 @@ then RESUME_DEV="" retval=1 + good_msg "Determining resume device (trying ${REAL_RESUME}) ..." + if [ ${retval} -ne 0 ] then RESUME_DEV=$(findfs "${REAL_RESUME}" 2>/dev/null) @@ -660,7 +662,7 @@ then if [ ${retval} -eq 0 ] && [ -n "${RESUME_DEV}" ] then - good_msg "Detected real_resume=${RESUME_DEV}" + good_msg "Resume device detected as ${RESUME_DEV}!" REAL_RESUME="${RESUME_DEV}" fi ;;