From fcb31f427e5042a3156a609ab6f92263827032fd Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 24 May 2017 14:30:40 +0200 Subject: [PATCH 1/1] Switch from grml-runtty to agetty also on tty11 + tty12 Closes grml/grml#14 now that grml-runtty is only used with non-systemd systems --- .../systemd/system/getty@tty11.service.d/override.conf/GRMLBASE | 9 ++++++++- .../systemd/system/getty@tty12.service.d/override.conf/GRMLBASE | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/etc/grml/fai/config/files/etc/systemd/system/getty@tty11.service.d/override.conf/GRMLBASE b/etc/grml/fai/config/files/etc/systemd/system/getty@tty11.service.d/override.conf/GRMLBASE index ae3664b..40ae2ac 100644 --- a/etc/grml/fai/config/files/etc/systemd/system/getty@tty11.service.d/override.conf/GRMLBASE +++ b/etc/grml/fai/config/files/etc/systemd/system/getty@tty11.service.d/override.conf/GRMLBASE @@ -2,5 +2,12 @@ [Service] Type=idle +Restart=always +StandardInput=tty +StandardOutput=tty +TTYPath=/dev/tty11 ExecStart= -ExecStart=-/sbin/grml-runtty /dev/tty11 /usr/bin/htop root +ExecStart=-/usr/bin/htop + +[Unit] +Description=htop on tty11 diff --git a/etc/grml/fai/config/files/etc/systemd/system/getty@tty12.service.d/override.conf/GRMLBASE b/etc/grml/fai/config/files/etc/systemd/system/getty@tty12.service.d/override.conf/GRMLBASE index 8280122..8918003 100644 --- a/etc/grml/fai/config/files/etc/systemd/system/getty@tty12.service.d/override.conf/GRMLBASE +++ b/etc/grml/fai/config/files/etc/systemd/system/getty@tty12.service.d/override.conf/GRMLBASE @@ -2,5 +2,12 @@ [Service] Type=idle +Restart=always +StandardInput=tty +StandardOutput=tty +TTYPath=/dev/tty12 ExecStart= -ExecStart=-/sbin/grml-runtty /dev/tty12 /usr/share/grml-scripts/run-journalctl root +ExecStart=-/usr/share/grml-scripts/run-journalctl + +[Unit] +Description=journalctl on tty12 -- 2.1.4