aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-01-11 12:27:21 -0500
committerBill Nottingham <notting@redhat.com>2010-01-11 12:27:21 -0500
commit20dd9d76ff20ebda43ba37754eb02cca42d47095 (patch)
tree00c7df7dbd561f5e2c43d7f67c86ddf5a9c4698c
parent4ccd3b4c8c3236c958df5a9c7d035b2c51d86a01 (diff)
downloadinitscripts-20dd9d76ff20ebda43ba37754eb02cca42d47095.tar
initscripts-20dd9d76ff20ebda43ba37754eb02cca42d47095.tar.gz
initscripts-20dd9d76ff20ebda43ba37754eb02cca42d47095.tar.bz2
initscripts-20dd9d76ff20ebda43ba37754eb02cca42d47095.tar.xz
initscripts-20dd9d76ff20ebda43ba37754eb02cca42d47095.zip
Fix indenting/whitespace.
-rwxr-xr-xrc.d/rc.sysinit50
1 files changed, 25 insertions, 25 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 0756def5..39b7e439 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -351,33 +351,33 @@ if [ -f /etc/crypttab ]; then
init_crypto 0
fi
- if ! strstr "$cmdline" nompath && [ -f /etc/multipath.conf -a \
- -x /sbin/multipath ]; then
- modprobe dm-multipath > /dev/null 2>&1
- /sbin/multipath -v 0
- if [ -x /sbin/kpartx ]; then
- /sbin/dmsetup ls --target multipath --exec "/sbin/kpartx -a -p p" >/dev/null
- fi
+if ! strstr "$cmdline" nompath && [ -f /etc/multipath.conf -a \
+ -x /sbin/multipath ]; then
+ modprobe dm-multipath > /dev/null 2>&1
+ /sbin/multipath -v 0
+ if [ -x /sbin/kpartx ]; then
+ /sbin/dmsetup ls --target multipath --exec "/sbin/kpartx -a -p p" >/dev/null
fi
-
- if ! strstr "$cmdline" nodmraid && [ -x /sbin/dmraid ]; then
- modprobe dm-mirror >/dev/null 2>&1
- dmraidsets=$(LC_ALL=C /sbin/dmraid -s -c -i)
- if [ "$dmraidsets" != "no raid disks" -a "$dmraidsets" != "no block devices found" ]; then
- for dmname in $dmraidsets; do
- if [[ "$dmname" == isw_* ]] && \
- ! strstr "$cmdline" noiswmd; then
- continue
- fi
- /sbin/dmraid -ay -i --rm_partitions -p "$dmname" >/dev/null 2>&1
- /sbin/kpartx -a -p p "/dev/mapper/$dmname"
- done
- fi
- fi
-
- if [ -x /sbin/lvm ]; then
- action $"Setting up Logical Volume Management:" /sbin/lvm vgchange -a y --ignorelockingfailure
+fi
+
+if ! strstr "$cmdline" nodmraid && [ -x /sbin/dmraid ]; then
+ modprobe dm-mirror >/dev/null 2>&1
+ dmraidsets=$(LC_ALL=C /sbin/dmraid -s -c -i)
+ if [ "$dmraidsets" != "no raid disks" -a "$dmraidsets" != "no block devices found" ]; then
+ for dmname in $dmraidsets; do
+ if [[ "$dmname" == isw_* ]] && \
+ ! strstr "$cmdline" noiswmd; then
+ continue
+ fi
+ /sbin/dmraid -ay -i --rm_partitions -p "$dmname" >/dev/null 2>&1
+ /sbin/kpartx -a -p p "/dev/mapper/$dmname"
+ done
fi
+fi
+
+if [ -x /sbin/lvm ]; then
+ action $"Setting up Logical Volume Management:" /sbin/lvm vgchange -a y --ignorelockingfailure
+fi
if [ -f /etc/crypttab ]; then
init_crypto 0