From: Harald Hoyer Date: Fri, 30 Nov 2012 14:22:43 +0000 (+0100) Subject: crypt/crypt-run-generator.sh: do not timeout for LUKS passwords with systemd X-Git-Tag: 025~42 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fdeae2a3ac427d496a6aba1252ed684332abe6f5;p=platform%2Fupstream%2Fdracut.git crypt/crypt-run-generator.sh: do not timeout for LUKS passwords with systemd --- diff --git a/modules.d/90crypt/crypt-run-generator.sh b/modules.d/90crypt/crypt-run-generator.sh index 8d16f7c..7842b3c 100755 --- a/modules.d/90crypt/crypt-run-generator.sh +++ b/modules.d/90crypt/crypt-run-generator.sh @@ -27,7 +27,7 @@ if strstr "$(cryptsetup --help)" "allow-discards"; then fi fi -echo "$luks $dev - $allowdiscards" >> /etc/crypttab +echo "$luks $dev - timeout=0,$allowdiscards" >> /etc/crypttab if command -v systemctl >/dev/null; then systemctl daemon-reload