7 lines
101 B
Bash
7 lines
101 B
Bash
|
#Startx Automatically
|
||
|
|
||
|
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
|
||
|
startx
|
||
|
logout
|
||
|
fi
|