if [[ "$(tty)" = "/dev/tty1" ]]; then startx poweroff fi