summaryrefslogtreecommitdiffstats
path: root/hooks/encrypt
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-04-28 01:24:42 +0200
committerAaron Griffin <aaron@archlinux.org>2006-04-28 01:24:42 +0200
commit117bb5ca93de53276a1f7b7e5d485779f71b5c1f (patch)
tree0497ecdb5025be10d16c0f7e175b35b1d973e946 /hooks/encrypt
parenta102395a7ef970a91ee188f2c0de3b1dc15ca09c (diff)
downloadmkinitcpio-117bb5ca93de53276a1f7b7e5d485779f71b5c1f.tar.gz
mkinitcpio-117bb5ca93de53276a1f7b7e5d485779f71b5c1f.tar.xz
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@34 880c04e9-e011-0410-abf7-b926e227c9cd
Diffstat (limited to 'hooks/encrypt')
-rw-r--r--hooks/encrypt4
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"