]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dm: load dm_mod if device-mapper not in /proc/misc
authorHarald Hoyer <harald@redhat.com>
Thu, 8 Jul 2010 14:18:09 +0000 (16:18 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 8 Jul 2010 14:18:09 +0000 (16:18 +0200)
modules.d/90dm/dm-pre-udev.sh

index 8fdaeaf3851455c8a24532e2c9de9c188fac59db..dfa454195ac07b212dc53ec49f310b5983356fb3 100755 (executable)
@@ -1 +1 @@
-modprobe dm_mod 
+strstr "$(cat /proc/misc)" device-mapper || modprobe dm_mod