Install minicom
sudo apt-get install minicom
setup your system to auto ;login into a commandline session
[use sudo raspi-config]
then at the end of .bashrc put in
if [ $(tty) == /dev/tty1 ]; then minicom -s ##change this to be the thing you want or even a script [full path to] fi
then reboot your rpi