kernel-modules/module-setup.sh: also install /lib/modprobe.d/*.conf

In theory we should only install /lib/modprobe.d/*.conf and only for
host-only the /etc/modprobe.d.
This commit is contained in:
Harald Hoyer 2012-07-11 08:42:21 +02:00
parent fc5b6b0328
commit 9f5c98a76a

View File

@ -77,7 +77,7 @@ installkernel() {
install() {
local _f i
[ -f /etc/modprobe.conf ] && dracut_install /etc/modprobe.conf
dracut_install $(find -L /etc/modprobe.d/ -maxdepth 1 -type f -name '*.conf')
dracut_install $(find -L /{etc,lib}/modprobe.d/ -maxdepth 1 -type f -name '*.conf')
inst_hook cmdline 01 "$moddir/parse-kernel.sh"
inst_simple "$moddir/insmodpost.sh" /sbin/insmodpost.sh
}