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 8fdaeaf..dfa4541 100755 (executable)
@@ -1 +1 @@
-modprobe dm_mod 
+strstr "$(cat /proc/misc)" device-mapper || modprobe dm_mod