]> www.vanbest.org Git - motioneye-debian/commitdiff
updated rapicam/README.md
authorCalin Crisan <ccrisan@gmail.com>
Sun, 24 Nov 2013 17:32:53 +0000 (19:32 +0200)
committerCalin Crisan <ccrisan@gmail.com>
Sun, 24 Nov 2013 17:32:53 +0000 (19:32 +0200)
raspicam/README.md

index f58baa51f392e438d7913ff45f45f96956f27f04..d523633a5e648caa6b624774a7ebb2a95c9ff224 100644 (file)
@@ -3,28 +3,22 @@
 1. make sure you have installed `uv4l` and `uv4l-raspicam` packages:
    <http://www.linux-projects.org/modules/sections/index.php?op=viewarticle&artid=14>
 
-2. copy `motion` and `v4l2-ctl` scripts to `/usr/local/bin`;
+2. create links for `motion` and `v4l2-ctl` scripts into `/usr/local/bin`;
    they serve as wrappers for their corresponding programs and will
    make the CSI camera work out of the box with motionEye:
    
-        sudo cp motion /usr/local/bin
-        sudo cp v4l2-ctl /usr/local/bin
+        sudo ln -s /path/to/motioneye/raspicam/motion /usr/local/bin
+        sudo ln -s /path/to/motioneye/raspicam/v4l2-ctl /usr/local/bin
 
-3. make the scripts executable:
+3. if you wish to start motionEye at boot, add this to `/etc/rc.local` (assuming motionEye lives in pi's home directory):
 
-        sudo chmod +x /usr/local/bin/motion
-        sudo chmod +x /usr/local/bin/v4l2-ctl
+        sudo -u pi /home/pi/motioneye/motioneye.py > /home/pi/motioneye/run/motioneye.log 2>&1 &
 
 4. the `uv4l` daemon must be started at boot; add the following line to `/etc/rc.local`,
    *before* the line that starts motionEye:
 
         test -x /usr/local/bin/motion && sudo -u pi /usr/local/bin/motion -h > /dev/null 2>&1 || false
 
-5. if you wish to start motionEye at boot, add this to `/etc/rc.local` (assuming motionEye lives in pi's home directory):
-
-        sudo -u pi /home/pi/motioneye/motioneye.py > /home/pi/motioneye/run/motioneye.log 2>&1 &
-
-        
 ## CSI camera board troubleshooting ##
 
 * make sure you run the latest version of the Raspberry PI firmware
@@ -32,3 +26,4 @@
 * make sure you have enabled the camera module in `raspi-config`
 * don't overclock your PI too much, using the camera module causes core overheating already
 * don't reduce the memory allocated to the GPU too much
+