From 6a7b26e3ed183da3f3a3536f4366847bcd7602ad Mon Sep 17 00:00:00 2001 From: Tim Eertmoed Date: Wed, 16 Oct 2024 12:54:58 +0200 Subject: [PATCH] install.sh aktualisiert --- install.sh | 9 +++++++++ 1 file changed, 9 insertions(+) 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: