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:
343b7d7
)
dracut-functions.sh: inst_hook() with [0-9]-<name>
author
Harald Hoyer
<harald@redhat.com>
Mon, 30 Jul 2012 15:00:27 +0000
(17:00 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Mon, 30 Jul 2012 15:08:51 +0000
(17:08 +0200)
dracut-functions.sh
patch
|
blob
|
history
diff --git
a/dracut-functions.sh
b/dracut-functions.sh
index
04b4c7a
..
a299bbb
100755
(executable)
--- a/
dracut-functions.sh
+++ b/
dracut-functions.sh
@@
-837,7
+837,7
@@
inst_hook() {
dfatal "No such hook type $1. Aborting initrd creation."
exit 1
fi
- inst_simple "$3" "/lib/dracut/hooks/${1}/${2}${3##*/}"
+ inst_simple "$3" "/lib/dracut/hooks/${1}/${2}
-
${3##*/}"
}
# install any of listed files