correct void autologin

This commit is contained in:
Malin Freeborn 2020-08-02 20:17:22 +02:00
parent 32317245a4
commit 679deba39e

View File

@ -3,12 +3,20 @@ Make the autologin service:
> cp -R /etc/sv/agetty-tty1 /etc/sv/agetty-autologin-tty1 > cp -R /etc/sv/agetty-tty1 /etc/sv/agetty-autologin-tty1
> echo "GETTY_ARGS="--autologin yourusernamehere --noclear" ```
> BAUD_RATE=38400
> TERM_NAME=linux" > /etc/sv/agetty-autologin-tty1/conf
> rm /var/service/agetty-tty1 if [ -x /sbin/agetty -o -x /bin/agetty ]; then
> ln -s /etc/sv/agetty-autologin-tty1 /var/service # util-linux specific settings
if [ "${tty}" = "tty1" ]; then
GETTY_ARGS="--noclear"
fi
fi
GETTY_ARGS="--autologin [ your username ] --noclear"
BAUD_RATE=38400
TERM_NAME=linux
```
Then stick this at the end of the bashrc: Then stick this at the end of the bashrc: