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