crypt/crypt-run-generator.sh: do not timeout for LUKS passwords with systemd
authorHarald Hoyer <harald@redhat.com>
Fri, 30 Nov 2012 14:22:43 +0000 (15:22 +0100)
committerHarald Hoyer <harald@redhat.com>
Fri, 14 Dec 2012 08:04:55 +0000 (09:04 +0100)
modules.d/90crypt/crypt-run-generator.sh

index 8d16f7c..7842b3c 100755 (executable)
@@ -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