mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-24 11:46:30 +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
|
||||
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
|
||||
|
@ -7,5 +7,5 @@ motion=$MOTION_MRDAVE
|
||||
|
||||
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"
|
||||
|
||||
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 "$@"
|
||||
|
||||
|
@ -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 "$@"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user