I'm running the Raspberry Pi version of Microcore but need to run a simple command on startup: cat /dev/ttyAMA0 or cat /dev/ttyACM0 (depending on the port).
Basically I just want the pi to boot up, and start displaying serial data coming in through the USB port.
Where do I need to put this command and what do I need to do to make it run on the next boot?
Any help would be appreciated.
Thank you