Wachalarm-Monitor/home/.bash_profile
2018-08-10 23:45:33 +03:00

8 lines
214 B
Bash

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