This commit is contained in:
CanbiZ
2025-05-07 09:40:35 +02:00
parent f36657708a
commit 6bdb1e28df
2 changed files with 111 additions and 1 deletions

View File

@@ -213,7 +213,7 @@ customize() {
passwd -d root >/dev/null 2>&1
# Ensure agetty is available
apk add --no-cache util-linux-getty >/dev/null 2>&1
apk add --no-cache --force-broken-world util-linux-getty >/dev/null 2>&1
# Enable autologin on tty1
sed -i 's|^tty1::respawn:.*|tty1::respawn:/sbin/agetty --autologin root --noclear tty1 38400 linux|' /etc/inittab