|
Harald Hoyer |
d97cfa |
From 7931bf04204ab41d6e87890e172f2805718bb93a Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
d97cfa |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
d97cfa |
Date: Tue, 29 Mar 2011 16:38:11 +0200
|
|
Harald Hoyer |
d97cfa |
Subject: [PATCH] plymouth gensplash: check for console_init before calling it
|
|
Harald Hoyer |
d97cfa |
|
|
Harald Hoyer |
d97cfa |
Thanks Jon Ander Hernandez!
|
|
Harald Hoyer |
d97cfa |
---
|
|
Harald Hoyer |
d97cfa |
modules.d/50gensplash/gensplash-pretrigger.sh | 2 +-
|
|
Harald Hoyer |
d97cfa |
modules.d/50plymouth/plymouth-pretrigger.sh | 2 +-
|
|
Harald Hoyer |
d97cfa |
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
Harald Hoyer |
d97cfa |
|
|
Harald Hoyer |
d97cfa |
diff --git a/modules.d/50gensplash/gensplash-pretrigger.sh b/modules.d/50gensplash/gensplash-pretrigger.sh
|
|
Harald Hoyer |
d97cfa |
index 5350405..b0330a4 100755
|
|
Harald Hoyer |
d97cfa |
--- a/modules.d/50gensplash/gensplash-pretrigger.sh
|
|
Harald Hoyer |
d97cfa |
+++ b/modules.d/50gensplash/gensplash-pretrigger.sh
|
|
Harald Hoyer |
d97cfa |
@@ -9,7 +9,7 @@ if getargbool 1 rd.splash -n rd_NO_SPLASH; then
|
|
Harald Hoyer |
d97cfa |
|
|
Harald Hoyer |
d97cfa |
info "Starting Gentoo Splash"
|
|
Harald Hoyer |
d97cfa |
|
|
Harald Hoyer |
d97cfa |
- /lib/udev/console_init tty0
|
|
Harald Hoyer |
d97cfa |
+ [ -x /lib/udev/console_init ] && /lib/udev/console_init tty0
|
|
Harald Hoyer |
d97cfa |
CDROOT=0
|
|
Harald Hoyer |
d97cfa |
. /lib/gensplash-lib.sh
|
|
Harald Hoyer |
d97cfa |
splash init
|
|
Harald Hoyer |
d97cfa |
diff --git a/modules.d/50plymouth/plymouth-pretrigger.sh b/modules.d/50plymouth/plymouth-pretrigger.sh
|
|
Harald Hoyer |
d97cfa |
index eae0be2..d560d6f 100755
|
|
Harald Hoyer |
d97cfa |
--- a/modules.d/50plymouth/plymouth-pretrigger.sh
|
|
Harald Hoyer |
d97cfa |
+++ b/modules.d/50plymouth/plymouth-pretrigger.sh
|
|
Harald Hoyer |
d97cfa |
@@ -19,6 +19,6 @@ if getargbool 1 rd.plymouth -n rd_NO_PLYMOUTH; then
|
|
Harald Hoyer |
d97cfa |
info "Starting plymouth daemon"
|
|
Harald Hoyer |
d97cfa |
[ -x /bin/plymouthd ] && /bin/plymouthd --attach-to-session
|
|
Harald Hoyer |
d97cfa |
>/run/initramfs/plymouth
|
|
Harald Hoyer |
d97cfa |
- /lib/udev/console_init tty0
|
|
Harald Hoyer |
d97cfa |
+ [ -x /lib/udev/console_init ] && /lib/udev/console_init tty0
|
|
Harald Hoyer |
d97cfa |
/bin/plymouth --show-splash 2>&1 | vinfo
|
|
Harald Hoyer |
d97cfa |
fi
|