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:
5a4bbf1
)
Just look for cryptroot instead of /sbin/cryptroot
author
Victor Lowther
<victor.lowther@gmail.com>
Wed, 2 Jun 2010 12:07:55 +0000
(07:07 -0500)
committer
Harald Hoyer
<harald@redhat.com>
Wed, 9 Jun 2010 08:46:38 +0000
(10:46 +0200)
We know what the path is and what it contains in the initrd, and
not everyone puts cryptroot in /sbin
modules.d/90crypt/cryptroot-ask.sh
patch
|
blob
|
history
diff --git
a/modules.d/90crypt/cryptroot-ask.sh
b/modules.d/90crypt/cryptroot-ask.sh
index
13487c8
..
2f39667
100755
(executable)
--- 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