Browse Source

plymouth/gensplash: reset tty after plymouth messed with it

master
Harald Hoyer 14 years ago
parent
commit
424ecce632
  1. 3
      modules.d/50gensplash/gensplash-pretrigger.sh
  2. 4
      modules.d/50plymouth/plymouth-pretrigger.sh

3
modules.d/50gensplash/gensplash-pretrigger.sh

@ -9,8 +9,9 @@ if getargbool 1 rd.splash -n rd_NO_SPLASH; then @@ -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

4
modules.d/50plymouth/plymouth-pretrigger.sh

@ -18,7 +18,9 @@ if getargbool 1 rd.plymouth -n rd_NO_PLYMOUTH; then @@ -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

Loading…
Cancel
Save