Well, it’s more for my octopi + ps3 camera settings, since it’s so easy to corrupt your install and then spend another day figuring out how to get the blasted camera working again….

But feel free to use it yourself

sudo nano /etc/rc.local

and paste in :
cd /home/pi/mjpg* && sudo killall mjpg_streamer && ./mjpg_streamer -i "./input_uvc.so -y -f 20 -r 640x480 -y" -o "./output_http.so -w ./www"

enjoy :)