install.sh aktualisiert

This commit is contained in:
2024-10-16 12:54:58 +02:00
parent a21ad47b93
commit 6a7b26e3ed

View File

@@ -70,6 +70,15 @@ echo -e "${GREEN}✔${NC} Installer cleaned up..."
echo -e "${GREEN}${NC} Installation complete. Press any key to reboot."
read -n 1 -s
sudo mkdir -p /etc/systemd/system/getty@tty1.service.d
sudo tee /etc/systemd/system/getty@tty1.service.d/override.conf > /dev/null << 'EOF'
[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin loginuser --noclear %I $TERM
EOF
sudo systemctl daemon-reload
sudo systemctl restart getty@tty1
sudo systemctl enable getty@tty1
sudo reboot
# Version 1.0: