diff options
author | Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> | 2011-06-25 10:04:23 +0200 |
---|---|---|
committer | Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> | 2011-06-28 15:39:42 +0200 |
commit | c4f66215ed3fc9dba67241feb404d271a689030c (patch) | |
tree | 9f3fed157745009c8cbb6a882b34209dafe99324 | |
parent | fac564337b20eb7b4b1a6163a8290c1058d116b1 (diff) |
Move activate_vgs and crypt stat_busy to the top for consistency
-rw-r--r-- | functions | 2 | ||||
-rwxr-xr-x | rc.sysinit | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -326,8 +326,8 @@ udevd_modprobe() { activate_vgs() { [[ $USELVM = [yY][eE][sS] && -x $(type -P lvm) && -d /sys/block ]] || return # Kernel 2.6.x, LVM2 groups - /sbin/modprobe -q dm-mod 2>/dev/null stat_busy "Activating LVM2 groups" + /sbin/modprobe -q dm-mod 2>/dev/null /sbin/vgchange --sysinit -a y >/dev/null (( $? == 0 )) && stat_done || stat_fail } @@ -91,8 +91,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 |