SHOW:
|
|
- or go back to the newest paste.
| 1 | # Configuration for /etc/init.d/mjpg-streamer | |
| 2 | ||
| 3 | # The init.d script will only run if this variable non-empty. | |
| 4 | - | MJPG-STREAMER_USER="pi" |
| 4 | + | MJPG_STREAMER_USER="pi" |
| 5 | ||
| 6 | # Where mjpg-streamer is installed, this is important! | |
| 7 | DAEMON_HOME=/home/pi/mjpg-streamer | |
| 8 | ||
| 9 | # What arguments to pass to mjpg-streamer, here is few examples; You can change them by commenting one and | |
| 10 | # uncommenting another: | |
| 11 | ||
| 12 | DAEMON_ARGS='-i "$DAEMON_HOME/input_uvc.so -r SXGA -f 15" -o "$DAEMON_HOME/output_http.so"' # UVC-mode | |
| 13 | # DAEMON_ARGS='-i "$DAEMON_HOME/input_uvc.so -y" -o "$DAEMON_HOME/output_http.so"' # YUV-mode | |
| 14 | ||
| 15 | # Umask of files mjpg-streamer generates, Change this to 000 if running mjpg-streamer as its own, separate user | |
| 16 | UMASK=022 | |
| 17 | ||
| 18 | # Should we run at startup? | |
| 19 | RUN_AT_STARTUP="YES" |