Fix up .*profile creation
This commit is contained in:
parent
4742d8c823
commit
154e6ba591
@ -1861,9 +1861,8 @@ EOF
|
|||||||
# sourced by $(basename $MYSHELL) when used as a login shell
|
# sourced by $(basename $MYSHELL) when used as a login shell
|
||||||
|
|
||||||
# automatically run startx when logging in on tty1
|
# automatically run startx when logging in on tty1
|
||||||
if [ -z "\$DISPLAY" ] && [ \$XDG_VTNR -eq 1 ]; then
|
[[ ! \$DISPLAY && \$XDG_VTNR -eq 1 ]] && exec startx -- vt1
|
||||||
exec startx -- vt1 >/dev/null 2>&1
|
|
||||||
fi
|
|
||||||
EOF
|
EOF
|
||||||
else
|
else
|
||||||
rm -rf $SERVICE
|
rm -rf $SERVICE
|
||||||
|
Reference in New Issue
Block a user