diff --git a/install.sh b/install.sh index b6b3c0a..35f0602 100644 --- a/install.sh +++ b/install.sh @@ -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: