I would like to automatically run a program when I log on to a specific console (tty1) and no other.
I am running Ubuntu server 10.10 (no x) and I added the following line to my
/etc/init/tty1.conf to automatically log me in to the first console and it works.
exec /bin/login -f USERNAME < /dev/tty1 > /dev/tty1 2>&1
I have a program (called HomeAuto) that monitors a special data acquisition board and I want it to start when this console logs in.
Is it a matter of simply adding another line to that file too?