Don't for when running startx from autostart

This commit is contained in:
natemaia 2019-12-17 20:16:07 -08:00
parent 411e45bfdf
commit b440669527

View File

@ -1680,7 +1680,7 @@ xinit_config()
EOF
cat > "$MNT/home/$NEWUSER/$LOGINRC" <<- EOF
# automatically run startx when logging in on tty1
[ -z "\$DISPLAY" ] && [ \$XDG_VTNR -eq 1 ] && exec startx
[ -z "\$DISPLAY" ] && [ \$XDG_VTNR -eq 1 ] && startx
EOF
else
rm -rf "$AUTOLOGIN_SERV"