These instructions assume you have created broadcast.sh as instructed here. To launch another script, just use appropriate path and script name.
rc.local script modified to launch broadcast.sh on boot |
- Open a linux terminal
- sudo nano /etc/rc.local
- Arrow down to the "fi" of the if statement that prints the address.
- Hit enter and then the up arrow.
- type "/home/pi/broadcast.sh&" without the quotes-- Note the Ampersand "&" is important. This allows the rc.local script to launch your script and continue to booting without hanging and waiting for your script to complete.
- press ctrl+x and hit "Y" to save.
Dr. Soriano has the live feed up and running. The Pi webcam stream is monitoring his Chemical Ecology experiments with the cockroaches and they can be viewed here.
No comments:
Post a Comment