summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2005-02-23 15:48:57 +0000
committerMartin Schlemmer <azarah@gentoo.org>2005-02-23 15:48:57 +0000
commit50b5e4d84ec3a8e340122c62604f10c5bec717f1 (patch)
tree5be087c4e435e7a4a4831578b7aa997620151bed /sys-libs/device-mapper
parentStable on amd64 (diff)
downloadgentoo-2-50b5e4d84ec3a8e340122c62604f10c5bec717f1.tar.gz
gentoo-2-50b5e4d84ec3a8e340122c62604f10c5bec717f1.tar.bz2
gentoo-2-50b5e4d84ec3a8e340122c62604f10c5bec717f1.zip
Some formatting changes
(Portage version: 2.0.51-r15)
Diffstat (limited to 'sys-libs/device-mapper')
-rw-r--r--sys-libs/device-mapper/files/dm-start.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys-libs/device-mapper/files/dm-start.sh b/sys-libs/device-mapper/files/dm-start.sh
index 77408813fd38..1b3c402253ea 100644
--- a/sys-libs/device-mapper/files/dm-start.sh
+++ b/sys-libs/device-mapper/files/dm-start.sh
@@ -1,5 +1,5 @@
# /lib/rcscripts/addons/dm-start.sh: Setup DM volumes at boot
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/device-mapper/files/dm-start.sh,v 1.2 2005/02/23 14:23:03 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/device-mapper/files/dm-start.sh,v 1.3 2005/02/23 15:48:57 azarah Exp $
# char **get_new_dm_volumes(void)
#
@@ -52,6 +52,8 @@ is_empty_dm_volume() {
return 1
}
+local x volume
+
if [[ -x /sbin/dmsetup && -c /dev/mapper/control && -f /etc/dmtab ]]; then
[[ -n $(get_new_dm_volumes) ]] && \
einfo " Setting up device-mapper volumes:"
@@ -73,3 +75,6 @@ if [[ -x /sbin/dmsetup && -c /dev/mapper/control && -f /etc/dmtab ]]; then
fi
done <<< "$(get_new_dm_volumes)"
fi
+
+
+# vim:ts=4