From 915eb8602b7aff84b7b610a85f8f4b2d8c490d19 Mon Sep 17 00:00:00 2001 From: Sergey Morozov Date: Sat, 6 Nov 2021 19:37:07 +0300 Subject: [PATCH] Add more TTYs --- .../etc/systemd/system/getty.target.wants/getty@tty1.service | 1 + .../etc/systemd/system/getty.target.wants/getty@tty2.service | 1 + .../etc/systemd/system/getty.target.wants/getty@tty3.service | 1 + .../etc/systemd/system/getty.target.wants/getty@tty4.service | 1 + .../etc/systemd/system/getty.target.wants/getty@tty5.service | 1 + .../etc/systemd/system/getty.target.wants/getty@tty6.service | 1 + .../etc/systemd/system/getty@tty2.service.d/autologin.conf | 3 +++ .../etc/systemd/system/getty@tty3.service.d/autologin.conf | 3 +++ .../etc/systemd/system/getty@tty4.service.d/autologin.conf | 3 +++ .../etc/systemd/system/getty@tty5.service.d/autologin.conf | 3 +++ .../etc/systemd/system/getty@tty6.service.d/autologin.conf | 3 +++ 11 files changed, 21 insertions(+) create mode 120000 airootfs/etc/systemd/system/getty.target.wants/getty@tty1.service create mode 120000 airootfs/etc/systemd/system/getty.target.wants/getty@tty2.service create mode 120000 airootfs/etc/systemd/system/getty.target.wants/getty@tty3.service create mode 120000 airootfs/etc/systemd/system/getty.target.wants/getty@tty4.service create mode 120000 airootfs/etc/systemd/system/getty.target.wants/getty@tty5.service create mode 120000 airootfs/etc/systemd/system/getty.target.wants/getty@tty6.service create mode 100644 airootfs/etc/systemd/system/getty@tty2.service.d/autologin.conf create mode 100644 airootfs/etc/systemd/system/getty@tty3.service.d/autologin.conf create mode 100644 airootfs/etc/systemd/system/getty@tty4.service.d/autologin.conf create mode 100644 airootfs/etc/systemd/system/getty@tty5.service.d/autologin.conf create mode 100644 airootfs/etc/systemd/system/getty@tty6.service.d/autologin.conf diff --git a/airootfs/etc/systemd/system/getty.target.wants/getty@tty1.service b/airootfs/etc/systemd/system/getty.target.wants/getty@tty1.service new file mode 120000 index 0000000..7bfe080 --- /dev/null +++ b/airootfs/etc/systemd/system/getty.target.wants/getty@tty1.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/getty@.service \ No newline at end of file diff --git a/airootfs/etc/systemd/system/getty.target.wants/getty@tty2.service b/airootfs/etc/systemd/system/getty.target.wants/getty@tty2.service new file mode 120000 index 0000000..7bfe080 --- /dev/null +++ b/airootfs/etc/systemd/system/getty.target.wants/getty@tty2.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/getty@.service \ No newline at end of file diff --git a/airootfs/etc/systemd/system/getty.target.wants/getty@tty3.service b/airootfs/etc/systemd/system/getty.target.wants/getty@tty3.service new file mode 120000 index 0000000..7bfe080 --- /dev/null +++ b/airootfs/etc/systemd/system/getty.target.wants/getty@tty3.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/getty@.service \ No newline at end of file diff --git a/airootfs/etc/systemd/system/getty.target.wants/getty@tty4.service b/airootfs/etc/systemd/system/getty.target.wants/getty@tty4.service new file mode 120000 index 0000000..7bfe080 --- /dev/null +++ b/airootfs/etc/systemd/system/getty.target.wants/getty@tty4.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/getty@.service \ No newline at end of file diff --git a/airootfs/etc/systemd/system/getty.target.wants/getty@tty5.service b/airootfs/etc/systemd/system/getty.target.wants/getty@tty5.service new file mode 120000 index 0000000..7bfe080 --- /dev/null +++ b/airootfs/etc/systemd/system/getty.target.wants/getty@tty5.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/getty@.service \ No newline at end of file diff --git a/airootfs/etc/systemd/system/getty.target.wants/getty@tty6.service b/airootfs/etc/systemd/system/getty.target.wants/getty@tty6.service new file mode 120000 index 0000000..7bfe080 --- /dev/null +++ b/airootfs/etc/systemd/system/getty.target.wants/getty@tty6.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/getty@.service \ No newline at end of file diff --git a/airootfs/etc/systemd/system/getty@tty2.service.d/autologin.conf b/airootfs/etc/systemd/system/getty@tty2.service.d/autologin.conf new file mode 100644 index 0000000..d1d8474 --- /dev/null +++ b/airootfs/etc/systemd/system/getty@tty2.service.d/autologin.conf @@ -0,0 +1,3 @@ +[Service] +ExecStart= +ExecStart=-/sbin/agetty --autologin root --noclear %I 38400 linux diff --git a/airootfs/etc/systemd/system/getty@tty3.service.d/autologin.conf b/airootfs/etc/systemd/system/getty@tty3.service.d/autologin.conf new file mode 100644 index 0000000..d1d8474 --- /dev/null +++ b/airootfs/etc/systemd/system/getty@tty3.service.d/autologin.conf @@ -0,0 +1,3 @@ +[Service] +ExecStart= +ExecStart=-/sbin/agetty --autologin root --noclear %I 38400 linux diff --git a/airootfs/etc/systemd/system/getty@tty4.service.d/autologin.conf b/airootfs/etc/systemd/system/getty@tty4.service.d/autologin.conf new file mode 100644 index 0000000..d1d8474 --- /dev/null +++ b/airootfs/etc/systemd/system/getty@tty4.service.d/autologin.conf @@ -0,0 +1,3 @@ +[Service] +ExecStart= +ExecStart=-/sbin/agetty --autologin root --noclear %I 38400 linux diff --git a/airootfs/etc/systemd/system/getty@tty5.service.d/autologin.conf b/airootfs/etc/systemd/system/getty@tty5.service.d/autologin.conf new file mode 100644 index 0000000..d1d8474 --- /dev/null +++ b/airootfs/etc/systemd/system/getty@tty5.service.d/autologin.conf @@ -0,0 +1,3 @@ +[Service] +ExecStart= +ExecStart=-/sbin/agetty --autologin root --noclear %I 38400 linux diff --git a/airootfs/etc/systemd/system/getty@tty6.service.d/autologin.conf b/airootfs/etc/systemd/system/getty@tty6.service.d/autologin.conf new file mode 100644 index 0000000..d1d8474 --- /dev/null +++ b/airootfs/etc/systemd/system/getty@tty6.service.d/autologin.conf @@ -0,0 +1,3 @@ +[Service] +ExecStart= +ExecStart=-/sbin/agetty --autologin root --noclear %I 38400 linux