I'm configuring TTY auto login, so I followed the official guide, created a file named autologin.conf in /firstname.lastname@example.org, containing the following lines:
[Service] ExecStart= ExecStart=-/usr/bin/agetty --autologin XX --noclear %I 38400 linux
I did this for both tty1 and tty3.
Now when my system boots, I can see the bash prompt on tty1, but my autorun scripts for tty3 doesn't run at all. (The script is in ~/.bashrc, it runs if
$(tty) equals to
P.S If I modify getty@.service directly, adding the autologon, it works perfectly, the auto run scripts for tty3 executes.
I also noticed if I press ALT + F3 manually, after switching to tty3, the script get executed as well.