Redirect X startup messages to /dev/null.

This commit is contained in:
Jarno Rantanen 2018-08-10 23:45:33 +03:00
parent 145c71c00c
commit 06f8d00382

View File

@ -2,5 +2,6 @@
# If this is a tty, and the one where we want to run X, do so
if [ "$(tty)" == "/dev/tty1" ]; then
exec startx
# Redirect any output so it doesn't briefly appear when starting X
exec startx >/dev/null 2>&1
fi