I was trying to run a .sh script on my OpenBSD machine on startup.
I've made the script executable using the chmod +x command. I've also added the script to cron via an entry reading
@restart@reboot sh /dir/myscript.sh
(no quotes) as well as adding the script via and entry to /etc/rc.d/rc.local and making that executable as well, to no avail.
The script is a basic echo "hello" command. Any tips?
Note: I edited restart to reboot, as I misremembered exactly what I typed in