diff options
Diffstat (limited to 'share')
-rwxr-xr-x | share/customize-autologin.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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 |