diff options
Diffstat (limited to 'hooks/encrypt')
-rw-r--r-- | hooks/encrypt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hooks/encrypt b/hooks/encrypt index 3209cf3..b42efb9 100644 --- a/hooks/encrypt +++ b/hooks/encrypt @@ -43,8 +43,12 @@ run_hook () eval "${exe}" fi } + msg "Non-LUKS encrypted device found..." + OLDIFS=$IFS; IFS=: do_oldcrypt ${crypto} + IFS=$OLDIFS + if [ $? -ne 0 ]; then err "Password verification failed, aborting..." err "Verify parameter format: crypto=hash:cipher:keysize:offset:skip" |