/etc/modprobe.d might have subdirs, so install them also
authorHarald Hoyer <harald@redhat.com>
Fri, 6 Mar 2009 15:58:44 +0000 (16:58 +0100)
committerHarald Hoyer <harald@redhat.com>
Fri, 6 Mar 2009 15:58:44 +0000 (16:58 +0100)
modules.d/90kernel-modules-loaded/install
modules.d/90kernel-modules/install

index ac2ce40..6f1d003 100755 (executable)
@@ -7,5 +7,8 @@
 done
 
 [ -f /etc/modprobe.conf ] && dracut_install /etc/modprobe.conf
-dracut_install /etc/modprobe.d/*
+
+for i in $(find /etc/modprobe.d/ ); do
+         inst $i
+done
 
index efdf31d..bbfa1b7 100755 (executable)
@@ -8,4 +8,7 @@ while read d mp t rest; do
 done </proc/mounts
 
 [ -f /etc/modprobe.conf ] && dracut_install /etc/modprobe.conf
-dracut_install /etc/modprobe.d/*
+
+for i in $(find /etc/modprobe.d/ ); do
+         inst $i
+done