From fdeae2a3ac427d496a6aba1252ed684332abe6f5 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 30 Nov 2012 15:22:43 +0100 Subject: [PATCH] crypt/crypt-run-generator.sh: do not timeout for LUKS passwords with systemd --- modules.d/90crypt/crypt-run-generator.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.d/90crypt/crypt-run-generator.sh b/modules.d/90crypt/crypt-run-generator.sh index 8d16f7c16..7842b3cbf 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 -- 2.47.3