|
|
|
@ -2,7 +2,7 @@
@@ -2,7 +2,7 @@
|
|
|
|
|
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*- |
|
|
|
|
# ex: ts=8 sw=4 sts=4 et filetype=sh |
|
|
|
|
|
|
|
|
|
if [ -x /bin/plymouthd -a -z "$DRACUT_SYSTEMD" ]; then |
|
|
|
|
if type plymouthd >/dev/null 2>&1 && [-z "$DRACUT_SYSTEMD" ]; then |
|
|
|
|
if getargbool 1 plymouth.enable && getargbool 1 rd.plymouth -d -n rd_NO_PLYMOUTH; then |
|
|
|
|
# first trigger graphics subsystem |
|
|
|
|
udevadm trigger --action=add --attr-match=class=0x030000 >/dev/null 2>&1 |
|
|
|
@ -16,8 +16,8 @@ if [ -x /bin/plymouthd -a -z "$DRACUT_SYSTEMD" ]; then
@@ -16,8 +16,8 @@ if [ -x /bin/plymouthd -a -z "$DRACUT_SYSTEMD" ]; then
|
|
|
|
|
read consoledev rest < /sys/class/tty/console/active |
|
|
|
|
consoledev=${consoledev:-tty0} |
|
|
|
|
[ -x /lib/udev/console_init -a -e "/dev/$consoledev" ] && /lib/udev/console_init "/dev/$consoledev" |
|
|
|
|
[ -x /bin/plymouthd ] && /bin/plymouthd --attach-to-session --pid-file /run/plymouth/pid |
|
|
|
|
/bin/plymouth --show-splash 2>&1 | vinfo |
|
|
|
|
plymouthd --attach-to-session --pid-file /run/plymouth/pid |
|
|
|
|
plymouth --show-splash 2>&1 | vinfo |
|
|
|
|
# reset tty after plymouth messed with it |
|
|
|
|
[ -x /lib/udev/console_init -a -e "/dev/$consoledev" ] && /lib/udev/console_init "/dev/$consoledev" |
|
|
|
|
fi |
|
|
|
|