Modify modprobe.d installation and add check for plymouth
authorVictor Lowther <victor.lowther@gmail.com>
Fri, 6 Mar 2009 22:42:05 +0000 (16:42 -0600)
committerVictor Lowther <victor.lowther@gmail.com>
Fri, 6 Mar 2009 22:42:05 +0000 (16:42 -0600)
dracut.conf
modules.d/50plymouth/check [new file with mode: 0755]
modules.d/90kernel-modules/install

index 35fda6c..d63edd4 100644 (file)
@@ -1,2 +1,2 @@
 # specify the dracut modules to use
-dracutmodules="redhat-i18n kernel-modules lvm terminfo udev-rules base dmraid mdraid crypt"
+dracutmodules="redhat-i18n kernel-modules lvm terminfo udev-rules base crypt plymouth"
diff --git a/modules.d/50plymouth/check b/modules.d/50plymouth/check
new file mode 100755 (executable)
index 0000000..9b828a3
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/bash
+[[ -x /sbin/plymouthd && -x /bin/plymouth ]]
\ No newline at end of file
index 38ed940..70d16e9 100755 (executable)
@@ -8,4 +8,4 @@ while read d mp t rest; do
 done </proc/mounts
 
 [ -f /etc/modprobe.conf ] && dracut_install /etc/modprobe.conf
-dracut_install $(find /etc/modprobe.d/ )
+dracut_install $(find /etc/modprobe.d/ -type f )