Motion tuning (don't run as root, backup include, config...)

This commit is contained in:
Arne Fitzenreiter
2009-07-07 23:07:20 +02:00
parent 8517ff5300
commit 833d0efb90
8 changed files with 97 additions and 14 deletions

View File

@@ -6,7 +6,10 @@
case "$1" in
start)
boot_mesg "Starting motion webcam server..."
loadproc /usr/bin/motion
chown :video /dev/video*
mkdir -p /var/motion/cam1
chown -R video: /var/motion/cam1
loadproc sudo -u video /usr/bin/motion
;;
stop)