From: James Lee Date: Tue, 6 Aug 2013 15:25:58 +0000 (-0400) Subject: crypt: Fix typo--/etc/crypttab not /etc/cryptab X-Git-Tag: 032~47 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7deba0428a23b3f410a7cf8cac7cf8355e4dc150;p=platform%2Fupstream%2Fdracut.git crypt: Fix typo--/etc/crypttab not /etc/cryptab 1ae8b8a breaks the crypt module for those who use keyfiles due to a typo leading to the exclusion of /etc/crypttab from the initrd. --- diff --git a/modules.d/90crypt/module-setup.sh b/modules.d/90crypt/module-setup.sh index 975f1159..68b5fbed 100755 --- 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/crypttab ]]; then # filter /etc/crypttab for the devices we need while read _mapper _dev _rest; do [[ $_mapper = \#* ]] && continue