diff options
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-x | rc.sysinit | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -87,11 +87,9 @@ activate_vgs # Set up non-root encrypted partition mappings if [[ -f /etc/crypttab ]] && type -p cryptsetup >/dev/null; then - stat_busy "Unlocking encrypted volumes" - crypto_unlocked=0 - read_crypttab do_unlock && stat_done || stat_fail + read_crypttab do_unlock # Maybe someone has LVM on an encrypted block device - (( crypto_unlocked )) && activate_vgs + (( $? )) && activate_vgs fi # Check filesystems |