From: Harald Hoyer Date: Thu, 8 Jul 2010 14:18:09 +0000 (+0200) Subject: dm: load dm_mod if device-mapper not in /proc/misc X-Git-Tag: 007~91 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=40d69001ac53d7083662648e99a9162492ec67ad;p=thirdparty%2Fdracut.git dm: load dm_mod if device-mapper not in /proc/misc --- diff --git a/modules.d/90dm/dm-pre-udev.sh b/modules.d/90dm/dm-pre-udev.sh index 8fdaeaf38..dfa454195 100755 --- a/modules.d/90dm/dm-pre-udev.sh +++ b/modules.d/90dm/dm-pre-udev.sh @@ -1 +1 @@ -modprobe dm_mod +strstr "$(cat /proc/misc)" device-mapper || modprobe dm_mod