]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
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 35fda6cb152f73f8436ee8544d22df39a062b97f..d63edd407fcbb7d1606cc6483e7cb69042800dcd 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 38ed9408c7953bcac9b4c368b169dd16d657044e..70d16e9c81fabf5155ef715b71a2fb6bae1ff4cd 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 )