Get rid of grml-runtty
authorDarshaka Pathirana <dpat@syn-net.org>
Sun, 21 May 2017 17:34:32 +0000 (19:34 +0200)
committerMichael Prokop <mika@grml.org>
Wed, 24 May 2017 06:35:53 +0000 (08:35 +0200)
commit48143b65fbe57e2591a1c72e21656f525f4aa79c
tree5672493ec6fda71f0d347ee74c0587b8e5b801fc
parentda778b9822ddaadb442ec1047b9dc2abd1294063
Get rid of grml-runtty

What once was done by grml-runtty can be now be accomplished by systemd.

That said, there is a weird behavior when starting GNU/screen via
"run-screen". When started via grml-runtty screen runs zsh, but
when started directly via systemd screen runs /bin/sh (= dash).

The reason for that is, that the SHELL variable is empty when called
directly via systemd whereas SHELL=/bin/zsh when started via
grml-runtty. I could not figure out why but a solution would be to set
the "Environment"-option in the systemd-unit which I will propose in a
separate commit.

(partly) fixes grml/grml#14
etc/grml/fai/config/files/etc/systemd/system/getty@tty1.service.d/override.conf/GRMLBASE
etc/grml/fai/config/files/etc/systemd/system/getty@tty2.service.d/override.conf/GRMLBASE
etc/grml/fai/config/files/etc/systemd/system/getty@tty3.service.d/override.conf/GRMLBASE
etc/grml/fai/config/files/etc/systemd/system/getty@tty4.service.d/override.conf/GRMLBASE