fix: autologin for runit

This commit is contained in:
Klesh Wong 2022-05-28 11:01:38 +08:00
parent c2a543e9cf
commit 89cd2fe928

View File

@ -21,6 +21,6 @@ case "$UNAMEA" in
" | sudo tee /etc/systemd/system/getty@tty1.service.d/override.conf > /dev/null
;;
*artix*)
sudo sed -i 's/"--noclear"/"--noclear --autologin '$LOGIN'"'
sudo sed -i 's/"--noclear"/"--noclear --autologin '$LOGIN'"/' /etc/runit/sv/agetty-tty1/conf
;;
esace
esac