I seem to be having trouble getting this to work, I'm trying to run mjpg-streamer when the Raspberry boots, but it doesn't using the script below. I have mjpg-streamer installed in: /home/pi/mjpg-streamer/mjpg-streamer
I appreciate any help provided! Thank you.
#!/bin/sh STREAMER=/home/pi/mjpg-streamer/mjpg-streamer/mjpg_streamer DEVICE=/dev/video0 RESOLUTION=320x240 FRAMERATE=25 HTTP_PORT=8080 $STREAMER -i "./input_uvc.so -n -d $DEVICE -r $RESOLUTION -f $FRAMERATE" -o "./output_http.so -n -p $HTTP_PORT"