[1/1] motion: config file location

Message ID 20180308141536.7030-1-chrismcc@gmail.com
State Accepted
Headers show
Series
  • [1/1] motion: config file location
Related show

Commit Message

Christopher McCrory March 8, 2018, 2:15 p.m.
Install the motion.config file were the program expects it to be.

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
---
 package/motion/motion.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Thomas Petazzoni April 1, 2018, 8:09 p.m. | #1
Hello,

On Thu,  8 Mar 2018 06:15:36 -0800, Christopher McCrory wrote:
> Install the motion.config file were the program expects it to be.
> 
> Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
> ---
>  package/motion/motion.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas
Peter Korsgaard April 8, 2018, 3:10 p.m. | #2
>>>>> "Christopher" == Christopher McCrory <chrismcc@gmail.com> writes:

 > Install the motion.config file were the program expects it to be.
 > Signed-off-by: Christopher McCrory <chrismcc@gmail.com>

Committed to 2018.02.x, thanks.

Patch

diff --git a/package/motion/motion.mk b/package/motion/motion.mk
index 2ba16fc837..0f4898674b 100644
--- a/package/motion/motion.mk
+++ b/package/motion/motion.mk
@@ -59,7 +59,7 @@  endif
 # directories: docs, examples and init scripts
 define MOTION_INSTALL_TARGET_CMDS
 	$(INSTALL) -D -m 0644 $(@D)/motion-dist.conf \
-		$(TARGET_DIR)/etc/motion.conf
+		$(TARGET_DIR)/etc/motion/motion.conf
 	$(INSTALL) -D -m 0755 $(@D)/motion $(TARGET_DIR)/usr/bin/motion
 endef