diff --git a/etc/rc.d/init.d/rc b/etc/rc.d/init.d/rc index 56ada9b..eadccd2 100755 --- a/etc/rc.d/init.d/rc +++ b/etc/rc.d/init.d/rc @@ -113,6 +113,12 @@ fi echo -e $"Starting runlevel $runlevel services...""\r" +if [ "$runlevel" == "5" -a "$previous" == "N" ]; then + [ -e /run/plymouth/pid ] && touch /var/spool/gdm/force-display-on-active-vt +else + rm -f /var/spool/gdm/force-display-on-active-vt +fi + if [ "$multithread" = "1" ]; then # recreate multithreaded dependencies @@ -161,7 +167,5 @@ else # FIXME: when plymouth crashes and is restarted above the ENTER key X restart bug # comes back if not quit $PLYMOUTH quit - elif [ "$previous" == "N" ]; then - [ -e /run/plymouth/pid ] && touch /var/spool/gdm/force-display-on-active-vt fi fi