summaryrefslogtreecommitdiffstats
path: root/abs/core/fbsplash/extra/encrypt_hook.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/fbsplash/extra/encrypt_hook.patch')
-rw-r--r--abs/core/fbsplash/extra/encrypt_hook.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/abs/core/fbsplash/extra/encrypt_hook.patch b/abs/core/fbsplash/extra/encrypt_hook.patch
new file mode 100644
index 0000000..f059048
--- /dev/null
+++ b/abs/core/fbsplash/extra/encrypt_hook.patch
@@ -0,0 +1,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
+ }