jondallimore wrote:I havnt got things 'misconfigured'. Ive followed the documentation and everything works.
All I'm asking is how to run a command on boot.
If you know the answer, then great. If not, dont reply. Its that simple.
There are multiple ways to run things at boot. Init.d is one. If you don't need X running, then it can be done with a cron entry "@reboot". If you need X to be up (and you are running with the autologin on), then put it at the end of ~/.config/lxsession/LXDE-pi/autostart .
Bear in mind, particularly with cron, that your normal environment isn't set up, so you may need a PATH set and possibly other variables.
As already noted a bare "cd <directory>" without a leading "/" is relative to where you are. For anything other than the autostart method, you need an absolute path. Since you are running two commands, if you use @reboot, either separate the commands with a semicolon or put it all in a shell script and give the absolute path to that shell script. Using a shell script has the advantage that you can specify your choice of command interpreter (bash, sh, csh, etc.) as well as setting any environment variables you may need.
One last bit of advice...no one here is being paid to help you. Lose the chip from your shoulder or you may find future help a little thin on the ground.