From 6927f09e1ce4a4be6e2258f8e69525d51a38028e Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Fri, 11 Mar 2011 11:44:02 +0100 Subject: [PATCH] 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 --- modules.d/90crypt/cryptroot-ask.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.d/90crypt/cryptroot-ask.sh b/modules.d/90crypt/cryptroot-ask.sh index 9c99cccc..4a65c23b 100755 --- a/modules.d/90crypt/cryptroot-ask.sh +++ b/modules.d/90crypt/cryptroot-ask.sh @@ -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