--- /usr/local/etc/motion.conf.sample	Tue Jan 15 10:40:25 2008
+++ /usr/local/etc/motion/motion.conf	Tue Jan 15 10:53:45 2008
@@ -8,7 +8,7 @@
 ############################################################
 
 # Start in daemon (background) mode and release terminal (default: off)
-daemon off
+daemon on
 
 # File to store the process ID, also called pid file. (default: not defined)
 process_id_file /var/run/motion.pid 
@@ -48,10 +48,10 @@
 rotate 0
 
 # Image width (pixels). Valid range: Camera dependent, default: 352
-width 320
+width 640
 
 # Image height (pixels). Valid range: Camera dependent, default: 288
-height 240
+height 480
 
 # Maximum number of frames to be captured per second.
 # Valid range: 2-100. Default: 100 (almost no limit).
@@ -156,17 +156,17 @@
 # Picture frames must contain motion at least the specified number of frames
 # in a row before they are detected as true motion. At the default of 1, all
 # motion is detected. Valid range: 1 to thousands, recommended 1-5
-minimum_motion_frames 1
+minimum_motion_frames 2
 
 # Specifies the number of pre-captured (buffered) pictures from before motion
 # was detected that will be output at motion detection.
 # Recommended range: 0 to 5 (default: 0)
 # Do not use large values! Large values will cause Motion to skip video frames and
 # cause unsmooth mpegs. To smooth mpegs use larger values of post_capture instead.
-pre_capture 0
+pre_capture 5
 
 # Number of frames to capture after motion is no longer detected (default: 0)
-post_capture 0
+post_capture 5
 
 # Gap is the seconds of no motion detection that triggers the end of an event
 # An event is defined as a series of motion images taken within a short timeframe.
@@ -223,7 +223,7 @@
 
 # Use ffmpeg to encode a timelapse movie 
 # Default value 0 = off - else save frame every Nth second
-ffmpeg_timelapse 0
+ffmpeg_timelapse 2
 
 # The file rollover mode of the timelapse video
 # Valid values: hourly, daily (default), weekly-sunday, weekly-monday, monthly, manual
@@ -262,7 +262,7 @@
 ############################################################
 
 # Make automated snapshot every N seconds (default: 0 = disabled)
-snapshot_interval 0
+snapshot_interval 10
 
 
 ############################################################
@@ -286,7 +286,7 @@
 # Draws the timestamp using same options as C function strftime(3)
 # Default: %Y-%m-%d\n%T = date in ISO format and time in 24 hour clock
 # Text is placed in lower right corner
-text_right %Y-%m-%d\n%T-%q
+text_right %Y-%m-%d\n%T
 
 # Draw a user defined text on the images using same options as C function strftime(3)
 # Default: Not defined = no text
@@ -307,7 +307,7 @@
 text_event %Y%m%d%H%M%S
 
 # Draw characters at twice normal size on images. (default: off)
-text_double off
+text_double on
 
 
 ############################################################
@@ -326,7 +326,7 @@
 
 # Target base directory for pictures and films
 # Recommended to use absolute path. (Default: current working directory)
-target_dir /usr/local/apache2/htdocs/cam1
+target_dir /tmp
 
 # File path for snapshots (jpeg or ppm) relative to target_dir
 # Default: %v-%Y%m%d%H%M%S-snapshot
@@ -335,7 +335,7 @@
 # File extension .jpg or .ppm is automatically added so do not include this.
 # Note: A symbolic link called lastsnap.jpg created in the target_dir will always
 # point to the latest snapshot, unless snapshot_filename is exactly 'lastsnap'
-snapshot_filename %v-%Y%m%d%H%M%S-snapshot
+snapshot_filename snapshot
 
 # File path for motion triggered images (jpeg or ppm) relative to target_dir
 # Default: %v-%Y%m%d%H%M%S-%q
@@ -344,7 +344,7 @@
 # File extension .jpg or .ppm is automatically added so do not include this
 # Set to 'preview' together with best-preview feature enables special naming
 # convention for preview shots. See motion guide for details
-jpeg_filename %v-%Y%m%d%H%M%S-%q
+jpeg_filename archive/%Y%m%d/%v-%Y%m%d%H%M%S-%q
 
 # File path for motion triggered ffmpeg films (mpeg) relative to target_dir
 # Default: %v-%Y%m%d%H%M%S
@@ -352,14 +352,14 @@
 # For Motion 3.0 compatible mode choose: %Y/%m/%d/%H%M%S
 # File extension .mpg or .avi is automatically added so do not include this
 # This option was previously called ffmpeg_filename
-movie_filename %v-%Y%m%d%H%M%S
+movie_filename archive/%Y%m%d/%v-%Y%m%d%H%M%S
 
 # File path for timelapse mpegs relative to target_dir
 # Default: %Y%m%d-timelapse
 # Default value is near equivalent to legacy oldlayout option
 # For Motion 3.0 compatible mode choose: %Y/%m/%d-timelapse
 # File extension .mpg is automatically added so do not include this
-timelapse_filename %Y%m%d-timelapse
+timelapse_filename archive/%Y%m%d/%Y%m%d-timelapse
 
 
 ############################################################
@@ -367,7 +367,7 @@
 ############################################################
 
 # The mini-http server listens to this port for requests (default: 0 = disabled)
-webcam_port 8081
+webcam_port 0
 
 # Quality of the jpeg images produced (default: 50)
 webcam_quality 50
@@ -393,7 +393,7 @@
 ############################################################
 
 # TCP/IP port for the http server to listen on (default: 0 = disabled)
-control_port 8080
+control_port 0
 
 # Restrict control connections to localhost only (default: on)
 control_localhost on
@@ -595,4 +595,8 @@
 ; thread /usr/local/etc/thread2.conf
 ; thread /usr/local/etc/thread3.conf
 ; thread /usr/local/etc/thread4.conf
+thread /usr/local/etc/motion/cam0.conf
+thread /usr/local/etc/motion/cam1.conf
+thread /usr/local/etc/motion/cam2.conf
+thread /usr/local/etc/motion/cam3.conf
 
