plymouth0.7: Launch plymouth --show-splash from udev event, and once before switch_root in case it didn't start

master
Warren Togami 2009-06-02 20:20:44 -04:00
parent e9b1426eb7
commit 0a56724cd6
4 changed files with 7 additions and 5 deletions

View File

@ -0,0 +1 @@
ACTION=="add", SUBSYSTEM=="graphics", KERNEL=="fb[0-9]*", RUN+="/bin/plymouth --show-splash"

View File

@ -1,6 +1,6 @@
#!/bin/bash
. "$moddir"/plymouth-populate-initrd
inst_hook pre-udev 10 "$moddir"/plymouth-start.sh
inst_hook pre-udev 10 "$moddir"/plymouth-prep.sh
inst_hook pre-pivot 90 "$moddir"/plymouth-newroot.sh
inst_hook emergency 50 "$moddir"/plymouth-emergency.sh
inst "$moddir"/cryptroot-ask.sh /sbin/cryptroot-ask
@ -10,4 +10,4 @@ for modname in `find "/lib/modules/$kernel/kernel/drivers/gpu/drm" -name '*.ko'`
instmods $modname
fi
done

inst_rules "$moddir/52-plymouth-start.rules"

View File

@ -1,4 +1,6 @@
#!/bin/sh

[ -x /bin/plymouth ] && /bin/plymouth --newroot=$NEWROOT

if [ -x /bin/plymouth ]; then
/bin/plymouth --show-splash
/bin/plymouth --newroot=$NEWROOT
fi

View File

@ -27,5 +27,4 @@ mknod /dev/ttyS3 c 4 67
/lib/udev/console_init tty0

[ -x /bin/plymouthd ] && /bin/plymouthd
[ -x /bin/plymouth ] && /bin/plymouth --show-splash