projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aacdba2
)
crypt: Fix typo--/etc/crypttab not /etc/cryptab
author
James Lee
<jlee@thestaticvoid.com>
Tue, 6 Aug 2013 15:25:58 +0000
(11:25 -0400)
committer
Harald Hoyer
<harald@redhat.com>
Wed, 7 Aug 2013 08:33:15 +0000
(10:33 +0200)
1ae8b8a breaks the crypt module for those who use keyfiles due to a
typo leading to the exclusion of /etc/crypttab from the initrd.
modules.d/90crypt/module-setup.sh
patch
|
blob
|
history
diff --git
a/modules.d/90crypt/module-setup.sh
b/modules.d/90crypt/module-setup.sh
index
975f115
..
68b5fbe
100755
(executable)
--- a/
modules.d/90crypt/module-setup.sh
+++ b/
modules.d/90crypt/module-setup.sh
@@
-57,7
+57,7
@@
install() {
inst_hook cleanup 30 "$moddir/crypt-cleanup.sh"
fi
- if [[ $hostonly ]] && [[ -f /etc/cryptab ]]; then
+ if [[ $hostonly ]] && [[ -f /etc/crypt
t
ab ]]; then
# filter /etc/crypttab for the devices we need
while read _mapper _dev _rest; do
[[ $_mapper = \#* ]] && continue