blob: f05904816a7759ba658de0627aef2e07e500d5c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
--- /lib/initcpio/hooks/encrypt 2008-09-12 12:29:38.000000000 -0400
+++ encrypt.1 2008-10-28 08:13:34.000000000 -0400
@@ -1,6 +1,7 @@
# vim: set ft=sh:
# TODO this one needs some work to work with lots of different
# encryption schemes
+. /sbin/splash-functions.sh
run_hook ()
{
/sbin/modprobe -a -q dm-crypt >/dev/null 2>&1
@@ -59,6 +60,7 @@ run_hook ()
fi
fi
# Ask for a passphrase
+ splash_verbose
if [ ${dopassphrase} -gt 0 ]; then
echo ""
echo "A password is required to access the ${cryptname} volume:"
@@ -119,4 +121,5 @@ run_hook ()
fi
nuke ${ckeyfile}
fi
+ splash_silent
}
|