Browse Source

90mdraid/module-setup.sh: fixed sed arguments

master
Harald Hoyer 14 years ago
parent
commit
54ffd5447d
  1. 2
      modules.d/90mdraid/module-setup.sh

2
modules.d/90mdraid/module-setup.sh

@ -54,7 +54,7 @@ install() { @@ -54,7 +54,7 @@ install() {
# 65-md-inc*.rules and its fine-grained controls, or cause other problems
# when we explicitly don't want certain components to be incrementally
# assembled
sed -ire '/RUN\+?="[[:alpha:]/]*mdadm[[:blank:]]+(--incremental|-I)[[:blank:]]+(\$env\{DEVNAME\}|\$tempnode)"/d' "${initdir}/lib/udev/rules.d/64-md-raid.rules"
sed -i -r -e '/RUN\+?="[[:alpha:]/]*mdadm[[:blank:]]+(--incremental|-I)[[:blank:]]+(\$env\{DEVNAME\}|\$tempnode)"/d' "${initdir}/lib/udev/rules.d/64-md-raid.rules"
fi

inst_rules "$moddir/65-md-incremental-imsm.rules"

Loading…
Cancel
Save