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:
5297d4f
)
kernel-modules/module-setup.sh: just optionally install all modprobe.d
author
Harald Hoyer
<harald@redhat.com>
Mon, 23 Jul 2012 13:40:20 +0000
(15:40 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Mon, 23 Jul 2012 13:40:20 +0000
(15:40 +0200)
modules.d/90kernel-modules/module-setup.sh
patch
|
blob
|
history
diff --git
a/modules.d/90kernel-modules/module-setup.sh
b/modules.d/90kernel-modules/module-setup.sh
index
5391ed7
..
1632367
100755
(executable)
--- a/
modules.d/90kernel-modules/module-setup.sh
+++ b/
modules.d/90kernel-modules/module-setup.sh
@@
-77,10
+77,7
@@
installkernel() {
install() {
local _f i
[ -f /etc/modprobe.conf ] && dracut_install /etc/modprobe.conf
- set -- /{etc,lib}/modprobe.d/*.conf
- if [[ -f $1 ]]; then
- dracut_install "$@"
- fi
+ dracut_install -o /{etc,lib}/modprobe.d/*.conf
inst_hook cmdline 01 "$moddir/parse-kernel.sh"
inst_simple "$moddir/insmodpost.sh" /sbin/insmodpost.sh
}