- boot the rpi and for it to play an mp3 continuously
What I did:
- I autologin by editing
/etc/inittab in the normal way
- I run my commands by editing
~/.bash_profile and adding
The problem: the rpi boots, logs in the user, and plays the mp3. All good. But when I log in again via ssh, it runs the script again which plays the mp3 again, etc. I only want it to do that once.
I know I can have two users for this scenario, but I want to keep it simple and use one. Please help me do that?