Switch from grml-runtty to agetty also on tty11 + tty12
authorMichael Prokop <mika@grml.org>
Wed, 24 May 2017 12:30:40 +0000 (14:30 +0200)
committerMichael Prokop <mika@grml.org>
Wed, 24 May 2017 12:31:12 +0000 (14:31 +0200)
Closes grml/grml#14 now that grml-runtty is only used with non-systemd systems

etc/grml/fai/config/files/etc/systemd/system/getty@tty11.service.d/override.conf/GRMLBASE
etc/grml/fai/config/files/etc/systemd/system/getty@tty12.service.d/override.conf/GRMLBASE

index ae3664b..40ae2ac 100644 (file)
@@ -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
index 8280122..8918003 100644 (file)
@@ -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