diff options
author | Tom Gundersen <teg@jklm.no> | 2012-07-17 16:17:42 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2012-07-17 16:42:36 +0200 |
commit | 476b308f121b934859080e5ca48a93a504aadaf6 (patch) | |
tree | 56f5c908adcc30d0e8bc09bbd1ba13dd36bc7131 /rc.sysinit | |
parent | 275e04adec75fe9faff246bf893842da1d6d829d (diff) |
cryptsetup: refactor the output
I created a mess half-way between the legacy and the systemd outputs.
Signed-off-by: Tom Gundersen <teg@jklm.no>
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 |