Working directory for program start at boot
I've written a program that I would like to run at boot/startup but have a problem getting it to run.
My program 'mcumonitor' and settings file are located in /usr/bin.
I added ./usr/bin/mcumonitor to /etc/init.d/rc.local but it fails to run properly, I believe because it's looking for the settings file in the wrong place.
Is there a way to set the working directory for the program from rc.local or am I best to just hard code the settings file location explicitly within my program.
The Cageybee (yeah, I mistyped my username at registration. lol)