cryptoroot-ask: limit number of plymouth password requests

Set number ot retries to 5 to align with non-plymouth case.

Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
master
Andrey Borzenkov 2011-03-11 11:44:02 +01:00 committed by Harald Hoyer
parent 96d1d01572
commit 6927f09e1c
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ else
# flock against other interactive activities # flock against other interactive activities
{ flock -s 9; { flock -s 9;
/bin/plymouth ask-for-password \ /bin/plymouth ask-for-password \
--prompt "$prompt" \ --prompt "$prompt" --number-of-tries=5 \
--command="/sbin/cryptsetup luksOpen -T1 $device $luksname" --command="/sbin/cryptsetup luksOpen -T1 $device $luksname"
} 9>/.console.lock } 9>/.console.lock