---
 functions  |    2 +-
 rc.sysinit |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/functions b/functions
index 6666acf..61cf3dd 100644
--- a/functions
+++ b/functions
@@ -330,9 +330,9 @@ udevd_modprobe() {
 
 activate_vgs() {
        [[ $USELVM = [yY][eE][sS] && -x $(type -P lvm) && -d /sys/block ]] || 
return
+       stat_busy "Activating LVM2 groups"
        # Kernel 2.6.x, LVM2 groups
        /sbin/modprobe -q dm-mod 2>/dev/null
-       stat_busy "Activating LVM2 groups"
        if /sbin/vgchange --sysinit -a y >/dev/null; then
                stat_done
        else
diff --git a/rc.sysinit b/rc.sysinit
index 0d94177..fe7b58e 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -95,8 +95,8 @@ activate_vgs
 
 # Set up non-root encrypted partition mappings
 if [[ -f /etc/crypttab && $CS ]] && grep -q ^[^#] /etc/crypttab; then
-       modprobe -q dm-crypt 2>/dev/null
        stat_busy "Unlocking encrypted volumes:"
+               modprobe -q dm-crypt 2>/dev/null
                do_unlock() {
                        # $1 = requested name
                        # $2 = source device
-- 
1.7.1

Reply via email to