Blame 0017-crypt-Fix-typo-etc-crypttab-not-etc-cryptab.patch
|
Harald Hoyer |
f8c4a0 |
From 7deba0428a23b3f410a7cf8cac7cf8355e4dc150 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
f8c4a0 |
From: James Lee <jlee@thestaticvoid.com>
|
|
Harald Hoyer |
f8c4a0 |
Date: Tue, 6 Aug 2013 11:25:58 -0400
|
|
Harald Hoyer |
f8c4a0 |
Subject: [PATCH] crypt: Fix typo--/etc/crypttab not /etc/cryptab
|
|
Harald Hoyer |
f8c4a0 |
|
|
Harald Hoyer |
f8c4a0 |
1ae8b8a breaks the crypt module for those who use keyfiles due to a
|
|
Harald Hoyer |
f8c4a0 |
typo leading to the exclusion of /etc/crypttab from the initrd.
|
|
Harald Hoyer |
f8c4a0 |
---
|
|
Harald Hoyer |
f8c4a0 |
modules.d/90crypt/module-setup.sh | 2 +-
|
|
Harald Hoyer |
f8c4a0 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Harald Hoyer |
f8c4a0 |
|
|
Harald Hoyer |
f8c4a0 |
diff --git a/modules.d/90crypt/module-setup.sh b/modules.d/90crypt/module-setup.sh
|
|
Harald Hoyer |
f8c4a0 |
index 975f115..68b5fbe 100755
|
|
Harald Hoyer |
f8c4a0 |
--- a/modules.d/90crypt/module-setup.sh
|
|
Harald Hoyer |
f8c4a0 |
+++ b/modules.d/90crypt/module-setup.sh
|
|
Harald Hoyer |
f8c4a0 |
@@ -57,7 +57,7 @@ install() {
|
|
Harald Hoyer |
f8c4a0 |
inst_hook cleanup 30 "$moddir/crypt-cleanup.sh"
|
|
Harald Hoyer |
f8c4a0 |
fi
|
|
Harald Hoyer |
f8c4a0 |
|
|
Harald Hoyer |
f8c4a0 |
- if [[ $hostonly ]] && [[ -f /etc/cryptab ]]; then
|
|
Harald Hoyer |
f8c4a0 |
+ if [[ $hostonly ]] && [[ -f /etc/crypttab ]]; then
|
|
Harald Hoyer |
f8c4a0 |
# filter /etc/crypttab for the devices we need
|
|
Harald Hoyer |
f8c4a0 |
while read _mapper _dev _rest; do
|
|
Harald Hoyer |
f8c4a0 |
[[ $_mapper = \#* ]] && continue
|