diff options
Diffstat (limited to 'abs/core/plymouth/encrypt_hook.patch')
-rw-r--r-- | abs/core/plymouth/encrypt_hook.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/abs/core/plymouth/encrypt_hook.patch b/abs/core/plymouth/encrypt_hook.patch deleted file mode 100644 index a00a160..0000000 --- a/abs/core/plymouth/encrypt_hook.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- encrypt_hooka 2012-07-15 11:17:04.000000000 +0300 -+++ encrypt_hook 2012-07-15 11:32:59.258648852 +0300 -@@ -73,13 +73,10 @@ - fi - # Ask for a passphrase - if [ ${dopassphrase} -gt 0 ]; then -- echo "" -+ echo - echo "A password is required to access the ${cryptname} volume:" -- -- #loop until we get a real password -- while ! eval cryptsetup luksOpen ${resolved} ${cryptname} ${cryptargs} ${CSQUIET}; do -- sleep 2; -- done -+ plymouth ask-for-password --prompt="Password for ${cryptname} volume" --dont-pause-progress --number-of-tries=5 --command="/sbin/cryptsetup luksOpen --key-file=- ${cryptdev} ${cryptname} ${CSQUIET}" -+ sleep 2 - fi - if [ -e "/dev/mapper/${cryptname}" ]; then - if [ ${DEPRECATED_CRYPT} -eq 1 ]; then |