rc: manage force-display-on-active-vt before starting services, not after, due to multithread init
This commit is contained in:
parent
cc3fe38c57
commit
b05691fb3b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user