5 lines
69 B
Bash
5 lines
69 B
Bash
if [[ ! $DISPLAY && $(tty) = "/dev/tty1" ]]; then
|
|
startx
|
|
exit
|
|
fi
|
if [[ ! $DISPLAY && $(tty) = "/dev/tty1" ]]; then
|
|
startx
|
|
exit
|
|
fi
|