projects
/
genkernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f95264a
)
Make recent addition conform to POSIX
author
Sebastian Pipping
<sebastian@pipping.org>
Mon, 11 Jun 2012 17:33:05 +0000
(19:33 +0200)
committer
Sebastian Pipping
<sebastian@pipping.org>
Mon, 11 Jun 2012 17:33:05 +0000
(19:33 +0200)
defaults/initrd.scripts
patch
|
blob
|
history
diff --git
a/defaults/initrd.scripts
b/defaults/initrd.scripts
index fd9ac27350afa9a6eb1c5902637ec35d21192046..f05a746cf70fc1af08a64a20a7777dee11e5ba3d 100755
(executable)
--- a/
defaults/initrd.scripts
+++ b/
defaults/initrd.scripts
@@
-756,7
+756,7
@@
openLUKS() {
case $1 in
root)
local TYPE=ROOT
- [ -n "${REAL_ROOT}" ] && local LUKS_NAME="
$(echo "$REAL_ROOT" | sed -e 's/.*\///')
"
+ [ -n "${REAL_ROOT}" ] && local LUKS_NAME="
`echo "${REAL_ROOT}" | sed -e 's|.*/||'`
"
;;
swap)
local TYPE=SWAP