Do I still need autologin hack?
This commit is contained in:
parent
5389a1e484
commit
e676b70738
|
@ -17,8 +17,10 @@ esac
|
||||||
|
|
||||||
# agetty is set to automatically log me in on tty1
|
# agetty is set to automatically log me in on tty1
|
||||||
# Automatically launch GUI on tty1 after login
|
# Automatically launch GUI on tty1 after login
|
||||||
|
# I don't think that this is used anymore in Sericea, I think autologin is handled by SDDM
|
||||||
|
# Still, it does not hurt for later distrohopping
|
||||||
if [ "$(tty)" == '/dev/tty1' ] && [ ! "$SSH_TTY" ]; then
|
if [ "$(tty)" == '/dev/tty1' ] && [ ! "$SSH_TTY" ]; then
|
||||||
. "${HOME}/.dotfiles/bash/bash_login"
|
source "${HOME}/.dotfiles/bash/bash_login"
|
||||||
LAST_GUI=$(cat "${HOME}/.spool/last_login_gui" 2>/dev/null)
|
LAST_GUI=$(cat "${HOME}/.spool/last_login_gui" 2>/dev/null)
|
||||||
if [ -f "${HOME}/.spool/last_login_gui" ]; then
|
if [ -f "${HOME}/.spool/last_login_gui" ]; then
|
||||||
${HOME}/scripts/${LAST_GUI}/start${LAST_GUI}.sh
|
${HOME}/scripts/${LAST_GUI}/start${LAST_GUI}.sh
|
||||||
|
|
Loading…
Reference in New Issue