mjpg-streamer.hotplug 150 B

12345678910
  1. case "$ACTION" in
  2. add)
  3. # start process
  4. /etc/init.d/mjpg-streamer start
  5. ;;
  6. remove)
  7. # stop process
  8. /etc/init.d/mjpg-streamer stop
  9. ;;
  10. esac