aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-03-21 19:16:21 +0100
committerThomas Deutschmann <whissi@gentoo.org>2021-03-21 19:24:03 +0100
commit5e3215ff97e980bf52cceb230488b0587c965ba1 (patch)
tree3fc194afaa87a8c29109fd17b3a9dc96b431c387
parentlinuxrc: Move global variables to initrd.defaults (diff)
downloadgenkernel-5e3215ff97e980bf52cceb230488b0587c965ba1.tar.gz
genkernel-5e3215ff97e980bf52cceb230488b0587c965ba1.tar.bz2
genkernel-5e3215ff97e980bf52cceb230488b0587c965ba1.zip
linuxrc: Adjust resume device messages
Use same messages we use for root device. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
-rw-r--r--defaults/linuxrc4
1 files changed, 3 insertions, 1 deletions
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
;;