forked from sackmotion/motion
-
Notifications
You must be signed in to change notification settings - Fork 5
/
FAQ
24 lines (17 loc) · 1.01 KB
/
FAQ
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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.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.