]> git.pld-linux.org Git - projects/geninitrd.git/blobdiff - mod-multipath.sh
Version 12531.
[projects/geninitrd.git] / mod-multipath.sh
index 68c2b1726619d790e267b66d603608086d814927..2a6121b9acac8f3462b6451ed5d6cb9b340d5c57 100644 (file)
@@ -1,5 +1,6 @@
 #!/bin/sh
-#
+MULTIPATH_RCSID='$Revision$ $Date::                            $'
+
 # geninitrd mod: dm-multipath
 USE_MULTIPATH=${USE_MULTIPATH:-yes}
 
@@ -104,6 +105,10 @@ find_modules_multipath() {
 # generate initrd fragment
 # @access      public
 initrd_gen_multipath() {
+       if ! is_yes "$have_multipath"; then
+               return
+       fi
+
        inst_d /sbin /lib/udev /etc/multipath
        inst_exec /sbin/kpartx /sbin
        inst_exec /sbin/multipath /sbin
This page took 0.06694 seconds and 4 git commands to generate.