the best motion binary is now automatically chosen

This commit is contained in:
Calin Crisan 2015-11-01 19:22:40 +02:00
parent a85c71efb8
commit 4013aab171
4 changed files with 6 additions and 6 deletions

View File

@ -2,7 +2,7 @@ conf_path /data/etc
run_path /tmp
log_path /var/log
media_path /data/output
motion_binary /usr/bin/motion-mrdave
motion_binary /usr/bin/motion
log_level info
listen 0.0.0.0
port 80

View File

@ -7,5 +7,5 @@ motion=$MOTION_MRDAVE
echo "using motion binary $motion"
exec $motion "$*"
exec $motion "$@"

View File

@ -5,7 +5,7 @@ MOTION_MRDAVE="/usr/bin/motion-mrdave"
MOTION_MMAL="/usr/bin/motion-mmal"
if [ "$1" == "-h" ]; then
# when asked about version , always report MrDave's,
# when asked about version, always report MrDave's,
# as it's the most featureful one
motion=$MOTION_MRDAVE
@ -32,5 +32,5 @@ fi
echo "using motion binary $motion"
exec $motion "$*"
exec $motion "$@"

View File

@ -5,7 +5,7 @@ MOTION_MRDAVE="/usr/bin/motion-mrdave"
MOTION_MMAL="/usr/bin/motion-mmal"
if [ "$1" == "-h" ]; then
# when asked about version , always report MrDave's,
# when asked about version, always report MrDave's,
# as it's the most featureful one
motion=$MOTION_MRDAVE
@ -32,5 +32,5 @@ fi
echo "using motion binary $motion"
exec $motion "$*"
exec $motion "$@"