kernel-modules/module-setup.sh: just optionally install all modprobe.d

master
Harald Hoyer 2012-07-23 15:40:20 +02:00
parent 5297d4f5b2
commit 3e624cd9dc
1 changed files with 1 additions and 4 deletions

View File

@ -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
}