]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Fixup 90kernel-modules-loaded
authorVictor Lowther <victor.lowther@gmail.com>
Sun, 8 Mar 2009 14:21:06 +0000 (09:21 -0500)
committerVictor Lowther <victor.lowther@gmail.com>
Sun, 8 Mar 2009 16:39:43 +0000 (11:39 -0500)
The inst functions do not know how to handle directories directly.
Just find the files, and they will create the directories as needed.

modules.d/90kernel-modules-loaded/install

index 666d12c52ab3995fae4a98c05d94d49fddd98414..c0c19bbcb26066ed5cb7e459c660af6b377d6b7b 100755 (executable)
@@ -7,5 +7,5 @@
 done
 
 [ -f /etc/modprobe.conf ] && dracut_install /etc/modprobe.conf
-dracut_install $(find /etc/modprobe.d/ )
+dracut_install $(find /etc/modprobe.d/ -type f )