]> git.pld-linux.org Git - projects/geninitrd.git/commitdiff
- uups. remove foced devpaths
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 17 Jun 2009 20:45:17 +0000 (20:45 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Wed, 17 Jun 2009 20:45:17 +0000 (20:45 +0000)
svn-id: @10396

mod-multipath.sh

index 9b28cf11c7c5e896353ee236fa991f77553b2c53..215fab42ba34c2507de658a94a56d3a0c6ac15c4 100644 (file)
@@ -27,9 +27,6 @@ is_multipath() {
        if ! is_yes "$USE_MULTIPATH"; then
                return 1
        fi
-if [ "$devpath" = /dev/sys/rootfs ]; then
-       devpath=/dev/mapper/LUN-14
-fi
 
        # multipath nodes are under device mapper
        if [[ "$devpath" != /dev/mapper/* ]]; then
@@ -61,9 +58,6 @@ fi
 find_modules_multipath() {
        local devpath="$1"
 
-if [ "$devpath" = /dev/sys/rootfs ]; then
-       devpath=/dev/mapper/LUN-14
-fi
        DM_NAME=
        eval $(dm_export "$devpath")
        if [ -z "$DM_NAME" ]; then
This page took 0.255824 seconds and 4 git commands to generate.