Revert "Run zsh when starting screen" This reverts commit 68719720b5707d8f8e6e0b4b3569074ede06e285. See https://github.com/grml/grml-scripts/pull/15 + https://github.com/grml/grml/issues/135
Run zsh when starting screen When starting GNU/screen via systemd the SHELL varible is empty whereas SHELL=/bin/zsh when starting screen via grml-runtty. If we can assume that zsh is installed on Grml then this solution is ok. If not, we should address that in the run-screen script with something like: SHELL=/bin/sh [ -x /bin/zsh ] && SHELL=/bin/zsh # now run screen with config if [ `id -u` = 0 ] ; then exec screen -U -c /etc/grml/screenrc -s $SHELL [snip] (partly) fixes grml/grml#14
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
Provide consistent header information for all /etc/systemd/ files that are deployed via grml-live
Systemd support, providing backwards compatibility via FILE_RC class [Closes: issue1015] Support for file-rc is still available and can be enabled via FILE_RC class.