I'm running Raspian on a Raspberry Pi. I want to run a script on startup, but nothing seems to be working. To test it, I'm currently just putting solely
echo "Helloooooooooooooooooooooooooooooooooooooooooo"
into /etc/rc.local after the default lines of # (directly after, before 'return 0')
However, it does not run at boot.
I tried putting the command into the crontab, with
@restart echo "Helloooooooooooooooooooooooooooooooooooooooooo"
but that also fails to work.
How can I fix this?
Try this:
@restart echo "Helloooooooooooooooooooooooooooooooooooooooooo" > /dev/tty
See, if that works.
Try to put your echo command in a bash script and read my response here: Autostart does not work after user reboot