Blame 0066-plymouth-add-plymouth-wait-quit.service-to-initrd.patch

Harald Hoyer 2265b4
From 0028ffac74574e39e54507f4903ca93b042a04a1 Mon Sep 17 00:00:00 2001
Harald Hoyer 2265b4
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer 2265b4
Date: Mon, 9 Jul 2012 20:49:24 +0200
Harald Hoyer 2265b4
Subject: [PATCH] plymouth: add plymouth-wait-quit.service to initrd
Harald Hoyer 2265b4
Harald Hoyer 2265b4
---
Harald Hoyer 2265b4
 modules.d/50plymouth/module-setup.sh |    4 ++++
Harald Hoyer 2265b4
 1 file changed, 4 insertions(+)
Harald Hoyer 2265b4
Harald Hoyer 2265b4
diff --git a/modules.d/50plymouth/module-setup.sh b/modules.d/50plymouth/module-setup.sh
Harald Hoyer 2265b4
index 10aa0da..14d9e59 100755
Harald Hoyer 2265b4
--- a/modules.d/50plymouth/module-setup.sh
Harald Hoyer 2265b4
+++ b/modules.d/50plymouth/module-setup.sh
Harald Hoyer 2265b4
@@ -76,5 +76,9 @@ install() {
Harald Hoyer 2265b4
     inst_hook pre-trigger 10 "$moddir"/plymouth-pretrigger.sh
Harald Hoyer 2265b4
     inst_hook emergency 50 "$moddir"/plymouth-emergency.sh
Harald Hoyer 2265b4
     dracut_install readlink
Harald Hoyer 2265b4
+
Harald Hoyer 2265b4
+    if [[ -x $systemdutildir/systemd ]]; then
Harald Hoyer 2265b4
+        dracut_install -o $systemdsystemunitdir/plymouth-quit-wait.service
Harald Hoyer 2265b4
+    fi
Harald Hoyer 2265b4
 }
Harald Hoyer 2265b4