aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2006-10-18 15:43:32 +0000
committerBill Nottingham <notting@redhat.com>2006-10-18 15:43:32 +0000
commit642a9b91bcd154a9510e70ec7e5e503da1526145 (patch)
treea7a54d2592db14f9ae1cd7ca8a9a39858a597383 /rc.d/rc.sysinit
parent74da6f21b145f68ee2e01c870acaee7bea393be5 (diff)
downloadinitscripts-642a9b91bcd154a9510e70ec7e5e503da1526145.tar
initscripts-642a9b91bcd154a9510e70ec7e5e503da1526145.tar.gz
initscripts-642a9b91bcd154a9510e70ec7e5e503da1526145.tar.bz2
initscripts-642a9b91bcd154a9510e70ec7e5e503da1526145.tar.xz
initscripts-642a9b91bcd154a9510e70ec7e5e503da1526145.zip
use dmraid.static (#211297)
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit6
1 files changed, 3 insertions, 3 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 168a5636..e535aecf 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -433,14 +433,14 @@ if [ -c /dev/mapper/control ]; then
fi
fi
- if ! strstr "$cmdline" nodmraid && [ -x /sbin/dmraid ]; then
+ if ! strstr "$cmdline" nodmraid && [ -x /sbin/dmraid.static ]; then
modprobe dm-mirror >/dev/null 2>&1
- for x in $(/sbin/dmraid -ay -i -p -t 2>/dev/null | \
+ for x in $(/sbin/dmraid.static -ay -i -p -t 2>/dev/null | \
egrep -iv "^no " | \
awk -F ':' '{ print $1 }') ; do
dmname=$(resolve_dm_name $x)
[ -n "$dmname" ] && continue
- /sbin/dmraid -ay -i -p "$dmname" >/dev/null 2>&1
+ /sbin/dmraid.static -ay -i -p "$dmname" >/dev/null 2>&1
/sbin/kpartx -a -p p "/dev/mapper/$dmname"
done
fi