From 499d46aecf548f32a1ea07e1f942ecb3b37edb5e Mon Sep 17 00:00:00 2001 From: Thomas Deutschmann Date: Tue, 14 Apr 2020 19:41:24 +0200 Subject: [PATCH] sys-fs/lvm2: runscript: output msg when we are loading module Signed-off-by: Thomas Deutschmann --- sys-fs/lvm2/files/lvm.rc-2.02.187 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys-fs/lvm2/files/lvm.rc-2.02.187 b/sys-fs/lvm2/files/lvm.rc-2.02.187 index 1bf8002b9dab..d9c11730cdb2 100644 --- a/sys-fs/lvm2/files/lvm.rc-2.02.187 +++ b/sys-fs/lvm2/files/lvm.rc-2.02.187 @@ -77,9 +77,12 @@ start() { eerror "Failed to find lvm binary in /bin or /sbin!" return 1 fi + if [ -z "${CDBOOT}" ] ; then if [ -e /proc/modules ] && ! dm_in_proc ; then + ebegin "Trying to load dm-mod module" modprobe dm-mod 2>/dev/null + eend $? fi if [ -d /proc/lvm ] || dm_in_proc ; then -- 2.26.2