]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
plymouth hide-splash on emergency shell
authorHarald Hoyer <harald@redhat.com>
Wed, 20 May 2009 12:07:37 +0000 (14:07 +0200)
committerHarald Hoyer <harald@redhat.com>
Wed, 20 May 2009 12:25:35 +0000 (14:25 +0200)
modules.d/50plymouth/install
modules.d/50plymouth/plymouth-emergency.sh [new file with mode: 0644]

index 0d2846137a778f9313c5eb2a033e83fa95e1acf4..da477c9d4c43bf492e429d9a95973b39453d9afa 100755 (executable)
@@ -1,8 +1,8 @@
 #!/bin/bash
-echo "installing plymouth"
 . "$moddir"/plymouth-populate-initrd
 inst_hook pre-udev 10 "$moddir"/plymouth-start.sh
 inst_hook pre-pivot 90 "$moddir"/plymouth-newroot.sh
+inst_hook emergency 50 "$moddir"/plymouth-emergency.sh
 inst_rules "$moddir/63-luks.rules"
 inst "$moddir"/cryptroot-ask.sh /lib/udev/cryptroot-ask
 inst cryptsetup
diff --git a/modules.d/50plymouth/plymouth-emergency.sh b/modules.d/50plymouth/plymouth-emergency.sh
new file mode 100644 (file)
index 0000000..e8b642d
--- /dev/null
@@ -0,0 +1,2 @@
+#!/sbin/sh
+[ -x /bin/plymouth ] && /bin/plymouth --hide-splash