diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2020-04-14 19:41:24 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2020-04-14 20:34:19 +0200 |
commit | 499d46aecf548f32a1ea07e1f942ecb3b37edb5e (patch) | |
tree | 61da870919a1372931617f253610d9a8d6fea412 /sys-fs | |
parent | sys-fs/lvm2: runscript: unify $lvm_path handling (diff) | |
download | gentoo-499d46aecf548f32a1ea07e1f942ecb3b37edb5e.tar.gz gentoo-499d46aecf548f32a1ea07e1f942ecb3b37edb5e.tar.bz2 gentoo-499d46aecf548f32a1ea07e1f942ecb3b37edb5e.zip |
sys-fs/lvm2: runscript: output msg when we are loading module
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/lvm2/files/lvm.rc-2.02.187 | 3 |
1 files changed, 3 insertions, 0 deletions
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 |