diff options
author | Peter Jones <pjones@redhat.com> | 2006-02-14 18:41:21 +0000 |
---|---|---|
committer | Peter Jones <pjones@redhat.com> | 2006-02-14 18:41:21 +0000 |
commit | 0120e26af5ddefc0a16faa9f6be752d7f5c2e864 (patch) | |
tree | ae58a40b68e71b51d9595644fc69d15101dc148f /rc.d/rc.sysinit | |
parent | f90567bd14e74599303c366ff9ceeead8572c37e (diff) | |
download | initscripts-0120e26af5ddefc0a16faa9f6be752d7f5c2e864.tar initscripts-0120e26af5ddefc0a16faa9f6be752d7f5c2e864.tar.gz initscripts-0120e26af5ddefc0a16faa9f6be752d7f5c2e864.tar.bz2 initscripts-0120e26af5ddefc0a16faa9f6be752d7f5c2e864.tar.xz initscripts-0120e26af5ddefc0a16faa9f6be752d7f5c2e864.zip |
- filter out another "no" message from dmraid. We need to fix dmraid'sr8-29
exit status in these cases and use that in the future...
- add path to one dmraid call
- bump version, add changelog
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-x | rc.d/rc.sysinit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 8c0d3229..71d5bc79 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -259,7 +259,7 @@ if [ -c /dev/mapper/control ]; then if [ -x /sbin/dmraid ]; then modprobe dm-mirror >/dev/null 2>&1 - for x in $(dmraid -ay -t --ignorelocking 2>/dev/null | grep -v "No RAID disks" | awk -F ':' '{ print $1 }') ; do + for x in $(/sbin/dmraid -ay -t --ignorelocking 2>/dev/null | egrep -iv "no block devices found|No RAID disks" | awk -F ':' '{ print $1 }') ; do dmname=$(resolve_dm_name $x) if [ -z "$dmname" ]; then /sbin/dmraid -ay --ignorelocking "$x" |