mirror of
https://github.com/Motion-Project/motion.git
synced 2025-12-24 07:28:21 -05:00
25 lines
1.0 KiB
Plaintext
25 lines
1.0 KiB
Plaintext
This FAQ is no longer kept up to date
|
|
Look at this URL for a more up to date wiki based FAQ
|
|
http://www.lavrsen.dk/twiki/bin/view/Motion/FrequentlyAskedQuestions
|
|
|
|
Q: motion crashes while parsing the config file.
|
|
|
|
A: Appearantly the behaviour of strtok in glibc has changed somewhat.
|
|
This problem should be fixed as of 2.3
|
|
|
|
|
|
Q: Were does motion look for the config file?
|
|
|
|
A: First it will look for 'motion.conf' in the current directory, next it will
|
|
try to find '.motion/motion.conf' in your home directory (pointed to by
|
|
the HOME environment variable). If these don't exist it will try to open
|
|
'/usr/local/etc/motion/motion.conf' if you specified /usr/local as the prefix
|
|
to configure (this is the default).
|
|
|
|
Q: What codingstyle is used for motion?
|
|
|
|
A: Motion follows the same style as the linux kernel.
|
|
Read Documentation/Codingstyle in the kernel tree for some good reasons.
|
|
Also be aware that motion is multithreaded and as such all functions should
|
|
be reentrant, using static variables is usually a bad idea.
|