commit:     499d46aecf548f32a1ea07e1f942ecb3b37edb5e
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 14 17:41:24 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Tue Apr 14 18:34:19 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=499d46ae

sys-fs/lvm2: runscript: output msg when we are loading module

Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 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 1bf8002b9da..d9c11730cdb 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

Reply via email to