Redirect X startup messages to /dev/null.
This commit is contained in:
parent
145c71c00c
commit
06f8d00382
@ -2,5 +2,6 @@
|
|||||||
|
|
||||||
# If this is a tty, and the one where we want to run X, do so
|
# If this is a tty, and the one where we want to run X, do so
|
||||||
if [ "$(tty)" == "/dev/tty1" ]; then
|
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
|
fi
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user