diff options
author | Peter Jones <pjones@redhat.com> | 2006-01-31 22:56:47 +0000 |
---|---|---|
committer | Peter Jones <pjones@redhat.com> | 2006-01-31 22:56:47 +0000 |
commit | 5b51082f97202488fbd1e6246a8680ab4dc8d336 (patch) | |
tree | 86ecea3b7c5a6f33737757aa38c2312531855284 /rc.d/rc.sysinit | |
parent | c49b2f00b3ef2c3fa955ae147e59c624d1b7dbb5 (diff) | |
download | initscripts-5b51082f97202488fbd1e6246a8680ab4dc8d336.tar initscripts-5b51082f97202488fbd1e6246a8680ab4dc8d336.tar.gz initscripts-5b51082f97202488fbd1e6246a8680ab4dc8d336.tar.bz2 initscripts-5b51082f97202488fbd1e6246a8680ab4dc8d336.tar.xz initscripts-5b51082f97202488fbd1e6246a8680ab4dc8d336.zip |
- we _do_ want -z, not -n . We only want to activate the raids we _can't_
resolve names for.
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 4635c64e..90f14384 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -251,7 +251,7 @@ if [ -c /dev/mapper/control ]; 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 dmname=$(resolve_dm_name $x) - if [ -n "$dmname" ]; then + if [ -z "$dmname" ]; then /sbin/dmraid -ay --ignorelocking "$dmname" fi done |