From: Harald Hoyer Date: Tue, 3 May 2011 12:47:45 +0000 (+0200) Subject: plymouth/gensplash: reset tty after plymouth messed with it X-Git-Tag: 011~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=424ecce63281760f86d258f3a12d45ff418402cd;p=thirdparty%2Fdracut.git plymouth/gensplash: reset tty after plymouth messed with it --- diff --git a/modules.d/50gensplash/gensplash-pretrigger.sh b/modules.d/50gensplash/gensplash-pretrigger.sh index b0330a476..074aa7871 100755 --- a/modules.d/50gensplash/gensplash-pretrigger.sh +++ b/modules.d/50gensplash/gensplash-pretrigger.sh @@ -9,8 +9,9 @@ if getargbool 1 rd.splash -n rd_NO_SPLASH; then info "Starting Gentoo Splash" - [ -x /lib/udev/console_init ] && /lib/udev/console_init tty0 + [ -x /lib/udev/console_init ] && /lib/udev/console_init /dev/tty0 CDROOT=0 . /lib/gensplash-lib.sh splash init + [ -x /lib/udev/console_init ] && /lib/udev/console_init /dev/tty0 fi diff --git a/modules.d/50plymouth/plymouth-pretrigger.sh b/modules.d/50plymouth/plymouth-pretrigger.sh index 222dc2083..25ed06f93 100755 --- a/modules.d/50plymouth/plymouth-pretrigger.sh +++ b/modules.d/50plymouth/plymouth-pretrigger.sh @@ -18,7 +18,9 @@ if getargbool 1 rd.plymouth -n rd_NO_PLYMOUTH; then info "Starting plymouth daemon" mkdir -m 0755 /run/plymouth - [ -x /lib/udev/console_init ] && /lib/udev/console_init tty0 + [ -x /lib/udev/console_init ] && /lib/udev/console_init /dev/tty0 [ -x /bin/plymouthd ] && /bin/plymouthd --attach-to-session --pid-file /run/plymouth/pid /bin/plymouth --show-splash 2>&1 | vinfo + # reset tty after plymouth messed with it + [ -x /lib/udev/console_init ] && /lib/udev/console_init /dev/tty0 fi