kernel-modules: Find (and ulitmately dereference) any symlinks in modprobe.d dir.

Also only do the top level of files (ignore any subdirs and files within)
master
Colin Guthrie 2011-12-16 23:11:39 +00:00 committed by Harald Hoyer
parent 5fae9d9a20
commit fa20c18525
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ installkernel() {
install() { install() {
local _f local _f
[ -f /etc/modprobe.conf ] && dracut_install /etc/modprobe.conf [ -f /etc/modprobe.conf ] && dracut_install /etc/modprobe.conf
for i in $(find /etc/modprobe.d/ -type f -name '*.conf'); do for i in $(find -L /etc/modprobe.d/ -maxdepth 1 -type f -name '*.conf'); do
inst_simple "$i" inst_simple "$i"
done done
inst_hook cmdline 01 "$moddir/parse-kernel.sh" inst_hook cmdline 01 "$moddir/parse-kernel.sh"