Motion - Support Question 2009x 04x 12x 141907

List current used options from motion.conf

Question

When I start motion executable , how can I list to stdout only the current config options that it is read from configuration file motion.conf ???... I have also seen this kind of list on S.C.R.A.P. - currently unmaintained by the author due to several reasons - (Security Camera Recording APplication - http://ornellas.apanela.com/dokuwiki/software:scrap )


Environment

Motion version: 3.2.11
ffmpeg version: SVN-r15375
Libraries: ffmpeg
Server OS: kernel 2.6.24.5

-- FlorinAnton - 12 Apr 2009

Answer

- Quick and Dirty Solution = run this command line to list the current config options from motion.conf.

egrep -v '(^#|^;|^$)' /usr/local/etc/motion.conf > /usr/local/etc/current_config_options.txt

-- FlorinAnton - 13 Apr 2009
Topic revision: r3 - 09 Jul 2009, AngelCarpintero
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.