From b4d773ef93ec3474048f73b880abf4a58be31a98 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Mon, 20 Feb 2023 14:27:27 +0100 Subject: debvm-create: fix graphical sysv autologin --- share/customize-autologin.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/customize-autologin.sh b/share/customize-autologin.sh index 58bf149..c0b4d28 100755 --- a/share/customize-autologin.sh +++ b/share/customize-autologin.sh @@ -29,6 +29,8 @@ fi if test "$(dpkg-query --root "$TARGET" -f '${db:Status-Status}' -W sysvinit-core 2>/dev/null)" = installed; then # shellcheck disable=SC2016 # intentional non-expansion echo 'C0:2345:respawn:/sbin/getty -8 --noclear --keep-baud -a root console 115200,38400,9600 $TERM' >> "$TARGET/etc/inittab" + # delete tty1, which could be /dev/console + sed -i -e '/^1:/d' "$TARGET/etc/inittab" exit 0 fi -- cgit v1.2.3