plymouth/gensplash: reset tty after plymouth messed with it

master
Harald Hoyer 2011-05-03 14:47:45 +02:00
parent 6019e1053c
commit 424ecce632
2 changed files with 5 additions and 2 deletions

View File

@ -9,8 +9,9 @@ if getargbool 1 rd.splash -n rd_NO_SPLASH; then


info "Starting Gentoo Splash" 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 CDROOT=0
. /lib/gensplash-lib.sh . /lib/gensplash-lib.sh
splash init splash init
[ -x /lib/udev/console_init ] && /lib/udev/console_init /dev/tty0
fi fi

View File

@ -18,7 +18,9 @@ if getargbool 1 rd.plymouth -n rd_NO_PLYMOUTH; then


info "Starting plymouth daemon" info "Starting plymouth daemon"
mkdir -m 0755 /run/plymouth 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 [ -x /bin/plymouthd ] && /bin/plymouthd --attach-to-session --pid-file /run/plymouth/pid
/bin/plymouth --show-splash 2>&1 | vinfo /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 fi