diff --git a/etc/rc.d/init.d/rc b/etc/rc.d/init.d/rc index 0e834ce..a84a93e 100755 --- a/etc/rc.d/init.d/rc +++ b/etc/rc.d/init.d/rc @@ -59,6 +59,7 @@ export RUNLEVEL # workaround for plymouthd stopping at runlevel change with non-KMS drivers $PLYMOUTHD --attach-to-session --pid-file /run/plymouth/pid $PLYMOUTH --show-splash + WORKAROUND=1 } [ "$previous" != "N" ] && progressbase=10 || progressbase=65 @@ -156,5 +157,11 @@ if [ ! "$runlevel" = "5" ]; then $PLYMOUTH quit else $PLYMOUTH message --text="" - [ -e /run/plymouth/pid ] && touch /var/spool/gdm/force-display-on-active-vt + if [ "$WORKAROUND" ]; then + # FIXME: when plymouth crashes and is restarted above the ENTER key X restart bug + # comes back if not quit + $PLYMOUTH quit + else + [ -e /run/plymouth/pid ] && touch /var/spool/gdm/force-display-on-active-vt + fi fi