From 62fdee77e4e716733a49364904844dd1d075b078 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Mon, 31 Jan 2011 12:42:40 +0100 Subject: [PATCH] Insert a few blank lines for readability --- defaults/initrd.scripts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index 30d1a98..5b88b75 100755 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -641,10 +641,13 @@ startVolumes() { # This is needed for /bin/lvm to accept the following logic lvm_commands="#! /bin/lvm" + # If there is a cahe, update it. Unbreak at least dmcrypt [ -d /etc/lvm/cache ] && lvm_commands="$lvm_commands \nvgscan" + # To activate volumegroups on all devices in the cache lvm_commands="$lvm_commands \nvgchange -ay --sysinit" + # And finally execute it all (/proc/... needed if lvm is compiled without readline) good_msg "Scanning for and activating Volume Groups" printf "%b\n" "$lvm_commands" | /bin/lvm /proc/self/fd/0