aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2006-01-31 20:50:51 +0000
committerPeter Jones <pjones@redhat.com>2006-01-31 20:50:51 +0000
commita68c02c7cf2b6b12d6707154c3b62beba7310413 (patch)
tree4f802bccc3ea7b8cca50d6b4d6c04d5cdaeef64a /rc.d/rc.sysinit
parentf4879ffdbc135f6a31d6db955e672cee5fbb57a0 (diff)
downloadinitscripts-a68c02c7cf2b6b12d6707154c3b62beba7310413.tar
initscripts-a68c02c7cf2b6b12d6707154c3b62beba7310413.tar.gz
initscripts-a68c02c7cf2b6b12d6707154c3b62beba7310413.tar.bz2
initscripts-a68c02c7cf2b6b12d6707154c3b62beba7310413.tar.xz
initscripts-a68c02c7cf2b6b12d6707154c3b62beba7310413.zip
- don't use cut
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index f7d849e1..2b09988b 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -249,7 +249,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 | cut -d: -f1) ; do
+ for x in $(dmraid -ay -t --ignorelocking | awk -F ':' '{ print $1 }') ; do
dmname=$(resolve_dm_name $x)
if [ -z "$dmname" ]; then
/sbin/dmraid -a y --ignorelocking "$dmname"