From: Victor Lowther Date: Wed, 2 Jun 2010 12:07:55 +0000 (-0500) Subject: Just look for cryptroot instead of /sbin/cryptroot X-Git-Tag: 006~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6a4f980921195c55752da50e8d6f160ba730f398;p=platform%2Fupstream%2Fdracut.git Just look for cryptroot instead of /sbin/cryptroot We know what the path is and what it contains in the initrd, and not everyone puts cryptroot in /sbin --- diff --git a/modules.d/90crypt/cryptroot-ask.sh b/modules.d/90crypt/cryptroot-ask.sh index 13487c8..2f39667 100755 --- a/modules.d/90crypt/cryptroot-ask.sh +++ b/modules.d/90crypt/cryptroot-ask.sh @@ -68,7 +68,7 @@ if [ $ask -gt 0 ]; then # flock against other interactive activities { flock -s 9; echo -n "$device ($luksname) is password protected" - /sbin/cryptsetup luksOpen -T1 $1 $luksname + cryptsetup luksOpen -T1 $1 $luksname } 9>/.console.lock fi