diff options
author | Bill Nottingham <notting@redhat.com> | 2006-10-18 15:44:14 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2006-10-18 15:44:14 +0000 |
commit | 58aa59f9310ece2e13f4ae14d8536b5dd580eb37 (patch) | |
tree | 6fab54b0a1c0b6a30745a6cf77320c74c92bc13f /rc.d | |
parent | d48d55de2dba0013dedd0659dee1c6d02e3fc212 (diff) | |
download | initscripts-58aa59f9310ece2e13f4ae14d8536b5dd580eb37.tar initscripts-58aa59f9310ece2e13f4ae14d8536b5dd580eb37.tar.gz initscripts-58aa59f9310ece2e13f4ae14d8536b5dd580eb37.tar.bz2 initscripts-58aa59f9310ece2e13f4ae14d8536b5dd580eb37.tar.xz initscripts-58aa59f9310ece2e13f4ae14d8536b5dd580eb37.zip |
use dmraid.static (#211297)
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/rc.sysinit | 6 |
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 |