projects
/
platform
/
upstream
/
cryptsetup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc1cbd8
)
Fix dracut example.
author
Milan Broz
<gmazyland@gmail.com>
Fri, 3 Aug 2012 13:27:59 +0000
(15:27 +0200)
committer
Milan Broz
<gmazyland@gmail.com>
Fri, 3 Aug 2012 13:27:59 +0000
(15:27 +0200)
misc/dracut_90reencrypt/reencrypt.sh
patch
|
blob
|
history
diff --git
a/misc/dracut_90reencrypt/reencrypt.sh
b/misc/dracut_90reencrypt/reencrypt.sh
index 03fab54fd0d8c2c28138709eacba2f2902e4e7fa..c2e27166e7ffb83eb62d2b16c65286450d1e8858 100755
(executable)
--- a/
misc/dracut_90reencrypt/reencrypt.sh
+++ b/
misc/dracut_90reencrypt/reencrypt.sh
@@
-27,10
+27,9
@@
reenc_readkey() {
local mntp="/tmp/reencrypted-mount-tmp"
mkdir "$mntp"
- mount -r "$keydev" "$mntp" || return
- cat "$mntp/$keypath"
+ mount -r "$keydev" "$mntp" && cat "$mntp/$keypath"
umount "$mntp"
- rm
di
r "$mntp"
+ rm
-
r "$mntp"
}
reenc_run() {