I am trying to open up an rtsp stream on system boot. I have enabled auto login, which works well.
I just cant get the script to work, even in isolation
#!/bin/sh -x omxplayer -n -1 rtsp://<username>:<password>@<ip address:port>/stream
The actual command inside the script works fine from the command line but just exits when running using the script. I just see "Have a nice day" and then nothing.
Any help is greatfully received.