diff options
author | Jonathan Bauer | 2015-02-04 18:18:39 +0100 |
---|---|---|
committer | Jonathan Bauer | 2015-02-04 18:18:39 +0100 |
commit | 668438ba6811d7d08de4d352021c343434f12f1b (patch) | |
tree | f621beab624eec3c9e15f90473b3c2794839db46 /remote/modules | |
parent | [sshd-freiburg] iptable rule to filter out incoming connections on port 22 wh... (diff) | |
download | tm-scripts-668438ba6811d7d08de4d352021c343434f12f1b.tar.gz tm-scripts-668438ba6811d7d08de4d352021c343434f12f1b.tar.xz tm-scripts-668438ba6811d7d08de4d352021c343434f12f1b.zip |
[systemd] force reset on the tty before it is spawned
Diffstat (limited to 'remote/modules')
-rw-r--r-- | remote/modules/systemd/data/usr/lib/systemd/system/getty@.service | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/remote/modules/systemd/data/usr/lib/systemd/system/getty@.service b/remote/modules/systemd/data/usr/lib/systemd/system/getty@.service index 2d2940e1..772566d6 100644 --- a/remote/modules/systemd/data/usr/lib/systemd/system/getty@.service +++ b/remote/modules/systemd/data/usr/lib/systemd/system/getty@.service @@ -26,8 +26,9 @@ ConditionPathExists=/dev/tty0 [Service] ExecStartPre=-/opt/openslx/bin/killall fbsplash +ExecStartPre=-/bin/bash -c "echo -e '\033c' > /dev/%i" # the VT is cleared by TTYVTDisallocate -ExecStart=-/sbin/agetty --noclear %I 38400 linux +ExecStart=-/sbin/agetty %I 38400 linux Type=idle Restart=always RestartSec=0 |