OSDN Git Service
(root)
/
pacbang-linux
/
installer-arch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
518b69e
)
Fix shell login when using xinit
author
natemaia
<natemaia10@gmail.com>
Tue, 10 Dec 2019 06:59:14 +0000
(22:59 -0800)
committer
natemaia
<natemaia10@gmail.com>
Tue, 10 Dec 2019 06:59:14 +0000
(22:59 -0800)
archlabs-installer
patch
|
blob
|
history
diff --git
a/archlabs-installer
b/archlabs-installer
index
e7554c3
..
274c6e7
100755
(executable)
--- a/
archlabs-installer
+++ b/
archlabs-installer
@@
-1680,7
+1680,7
@@
xinit_config()
EOF
cat > "$MNT/home/$NEWUSER/$LOGINRC" <<- EOF
# automatically run startx when logging in on tty1
- [ \$XDG_VTNR -eq 1 ] && exec startx
+ [
-z "\$DISPLAY" ] && [
\$XDG_VTNR -eq 1 ] && exec startx
EOF
else
rm -rf "$AUTOLOGIN_SERV"