diff --git a/postmarketos-base/postmarketos-base.post-install b/postmarketos-base/postmarketos-base.post-install index 165f08344..323baceac 100644 --- a/postmarketos-base/postmarketos-base.post-install +++ b/postmarketos-base/postmarketos-base.post-install @@ -17,9 +17,9 @@ done # Add user account adduser -u 1000 -D -h /home/user -G users user 2>/dev/null -# Autologin on tty1, disable tty 3-5 +# Autologin on tty1, let busybox autoconfigure 2-6 autologin="root" -for i in 1 3 4 5 6; do +for i in 1 2 3 4 5 6; do old="^tty$i::respawn:/sbin/getty 38400 tty$i" new="# tty$i::respawn:/sbin/getty 38400 tty$i" [ "$i" == "1" ] && new="tty1::respawn:/bin/login -f $autologin"