rc: create /var/spool/gdm/force-display-on-active-vt in runlevel 5 if plymouth is running to support smooth transition
This commit is contained in:
parent
5a1ec81085
commit
f722081e20
1
Makefile
1
Makefile
@ -62,6 +62,7 @@ install-dirs:
|
||||
$(INSTALL_DIR) $(DESTDIR)$(localstatedir)/run
|
||||
$(INSTALL_DIR) $(DESTDIR)$(localstatedir)/log
|
||||
$(INSTALL_DIR) $(DESTDIR)$(sysconfdir)/modules.d/
|
||||
$(INSTALL_DIR) $(DESTDIR)/var/spool/gdm
|
||||
|
||||
install-files:
|
||||
touch $(DESTDIR)$(localstatedir)/run/utmp
|
||||
|
@ -103,8 +103,9 @@ if [ "$previous" != "N" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
echo -e $"Starting runlevel $runlevel services...""\r"
|
||||
|
||||
if [ "$multithread" = "1" ]; then
|
||||
/bin/echo -e $"Starting runlevel $runlevel services...""\r" >&2
|
||||
|
||||
# recreate multithreaded dependencies
|
||||
depinit >/dev/null 2>&1
|
||||
@ -142,4 +143,6 @@ fi
|
||||
if [ ! "$runlevel" = "5" ]; then
|
||||
chvt 1
|
||||
$PLYMOUTH quit
|
||||
else
|
||||
[ -e /run/plymouth/pid ] && touch /var/spool/gdm/force-display-on-active-vt
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user