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
parent
96d1d01572
commit
6927f09e1c
|
@ -92,7 +92,7 @@ else
|
|||
# flock against other interactive activities
|
||||
{ flock -s 9;
|
||||
/bin/plymouth ask-for-password \
|
||||
--prompt "$prompt" \
|
||||
--prompt "$prompt" --number-of-tries=5 \
|
||||
--command="/sbin/cryptsetup luksOpen -T1 $device $luksname"
|
||||
} 9>/.console.lock
|
||||
|
||||
|
|
Loading…
Reference in New Issue