Blame 0066-90mdraid-module-setup.sh-fixed-sed-arguments.patch

Harald Hoyer 55891e
From 54ffd5447da0a912f91d21dde22d56b0f5762484 Mon Sep 17 00:00:00 2001
Harald Hoyer 55891e
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer 55891e
Date: Tue, 4 Oct 2011 13:30:35 +0200
Harald Hoyer 55891e
Subject: [PATCH] 90mdraid/module-setup.sh: fixed sed arguments
Harald Hoyer 55891e
Harald Hoyer 55891e
---
Harald Hoyer 55891e
 modules.d/90mdraid/module-setup.sh |    2 +-
Harald Hoyer 55891e
 1 files changed, 1 insertions(+), 1 deletions(-)
Harald Hoyer 55891e
Harald Hoyer 55891e
diff --git a/modules.d/90mdraid/module-setup.sh b/modules.d/90mdraid/module-setup.sh
Harald Hoyer 55891e
index 5e819b1..fe793bb 100755
Harald Hoyer 55891e
--- a/modules.d/90mdraid/module-setup.sh
Harald Hoyer 55891e
+++ b/modules.d/90mdraid/module-setup.sh
Harald Hoyer 55891e
@@ -54,7 +54,7 @@ install() {
Harald Hoyer 55891e
         # 65-md-inc*.rules and its fine-grained controls, or cause other problems
Harald Hoyer 55891e
         # when we explicitly don't want certain components to be incrementally
Harald Hoyer 55891e
         # assembled
Harald Hoyer 55891e
-        sed -ire '/RUN\+?="[[:alpha:]/]*mdadm[[:blank:]]+(--incremental|-I)[[:blank:]]+(\$env\{DEVNAME\}|\$tempnode)"/d' "${initdir}/lib/udev/rules.d/64-md-raid.rules"
Harald Hoyer 55891e
+        sed -i -r -e '/RUN\+?="[[:alpha:]/]*mdadm[[:blank:]]+(--incremental|-I)[[:blank:]]+(\$env\{DEVNAME\}|\$tempnode)"/d' "${initdir}/lib/udev/rules.d/64-md-raid.rules"
Harald Hoyer 55891e
     fi
Harald Hoyer 55891e
 
Harald Hoyer 55891e
     inst_rules "$moddir/65-md-incremental-imsm.rules"