mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 05:36:32 +00:00
the best motion binary is now automatically chosen
This commit is contained in:
parent
a85c71efb8
commit
4013aab171
@ -2,7 +2,7 @@ conf_path /data/etc
|
|||||||
run_path /tmp
|
run_path /tmp
|
||||||
log_path /var/log
|
log_path /var/log
|
||||||
media_path /data/output
|
media_path /data/output
|
||||||
motion_binary /usr/bin/motion-mrdave
|
motion_binary /usr/bin/motion
|
||||||
log_level info
|
log_level info
|
||||||
listen 0.0.0.0
|
listen 0.0.0.0
|
||||||
port 80
|
port 80
|
||||||
|
@ -7,5 +7,5 @@ motion=$MOTION_MRDAVE
|
|||||||
|
|
||||||
echo "using motion binary $motion"
|
echo "using motion binary $motion"
|
||||||
|
|
||||||
exec $motion "$*"
|
exec $motion "$@"
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ MOTION_MRDAVE="/usr/bin/motion-mrdave"
|
|||||||
MOTION_MMAL="/usr/bin/motion-mmal"
|
MOTION_MMAL="/usr/bin/motion-mmal"
|
||||||
|
|
||||||
if [ "$1" == "-h" ]; then
|
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
|
# as it's the most featureful one
|
||||||
motion=$MOTION_MRDAVE
|
motion=$MOTION_MRDAVE
|
||||||
|
|
||||||
@ -32,5 +32,5 @@ fi
|
|||||||
|
|
||||||
echo "using motion binary $motion"
|
echo "using motion binary $motion"
|
||||||
|
|
||||||
exec $motion "$*"
|
exec $motion "$@"
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ MOTION_MRDAVE="/usr/bin/motion-mrdave"
|
|||||||
MOTION_MMAL="/usr/bin/motion-mmal"
|
MOTION_MMAL="/usr/bin/motion-mmal"
|
||||||
|
|
||||||
if [ "$1" == "-h" ]; then
|
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
|
# as it's the most featureful one
|
||||||
motion=$MOTION_MRDAVE
|
motion=$MOTION_MRDAVE
|
||||||
|
|
||||||
@ -32,5 +32,5 @@ fi
|
|||||||
|
|
||||||
echo "using motion binary $motion"
|
echo "using motion binary $motion"
|
||||||
|
|
||||||
exec $motion "$*"
|
exec $motion "$@"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user