]> git.pld-linux.org Git - projects/geninitrd.git/commitdiff
- we like tabs
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 1 Jul 2009 21:30:19 +0000 (21:30 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Wed, 1 Jul 2009 21:30:19 +0000 (21:30 +0000)
svn-id: @10414

mod-multipath.sh

index 65935e8137ffaceac337cb91e5d0cdfb2a583af9..cd45e9a699e80937817bfa0210ae2731cbaa7b14 100644 (file)
@@ -276,15 +276,15 @@ mp_parse_hwhandler() {
        # size=7.0G features='0' hwhandler='0' wp=rw
        # size=2.0G features='1 queue_if_no_path' hwhandler='1 emc' wp=rw
        echo "$info" | sed -ne "
-        # multipath-tools-0.4.8-0.12.amd64
-        /\[hwhandler=1/{
-            s,^.*\[hwhandler=1 \([^]]*\)\].*$,dm-\1,
-            p
-        }
+               # multipath-tools-0.4.8-0.12.amd64
+               /\[hwhandler=1/{
+                       s,^.*\[hwhandler=1 \([^]]*\)\].*$,dm-\1,
+                       p
+               }
                # multipath-tools-0.4.8-11.x86_64
-        /hwhandler='1/{
-            s,^.*hwhandler='1 \([^']*\)'.*$,scsi-dh-\1,
-            p
-        }
-    " | sort -u
+               /hwhandler='1/{
+                       s,^.*hwhandler='1 \([^']*\)'.*$,scsi-dh-\1,
+                       p
+               }
+       " | sort -u
 }
This page took 1.624733 seconds and 4 git commands to generate.