TTY6/VT6 should start a shell if bootoption startx is not given
[grml-live.git] / etc / grml / fai / config / files / etc / systemd / system / getty@tty6.service.d / override.conf / GRMLBASE
1 [Service]
2 Type=idle
3 ExecStart=
4 ExecStart=-/bin/zsh --login -c "[ ! -e /var/run/grml_startx.started ] && [ -x /etc/init.d/startx ] && (touch /var/run/grml_startx.started && /sbin/grml-runtty /dev/tty6 /etc/init.d/startx root; chvt 1) || /sbin/grml-runtty /dev/tty6 /bin/zsh $USERNAME" >/dev/tty6 2>&1 < /dev/tty6