OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Starting automatically Re: Re: Starting automatically


Dan in CA

Hi Mike,

Try this simplified script in RC.local:

### Start the OSPi interval program
cd /home/pi/OSPi/
python &

To make sure the rc.local file is executable, issue the following command:

sudo chmod +x /etc/rc.local

Once you reboot the Pi the program should start running in the background and you can ssh in and do other stuff.

There are more details in the wiki at: