plymouth: add plymouth-wait-quit.service to initrd
authorHarald Hoyer <harald@redhat.com>
Mon, 9 Jul 2012 18:49:24 +0000 (20:49 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 10 Jul 2012 10:24:16 +0000 (12:24 +0200)
modules.d/50plymouth/module-setup.sh

index 10aa0da..14d9e59 100755 (executable)
@@ -76,5 +76,9 @@ install() {
     inst_hook pre-trigger 10 "$moddir"/plymouth-pretrigger.sh
     inst_hook emergency 50 "$moddir"/plymouth-emergency.sh
     dracut_install readlink
+
+    if [[ -x $systemdutildir/systemd ]]; then
+        dracut_install -o $systemdsystemunitdir/plymouth-quit-wait.service
+    fi
 }