mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-03 00:32:54 +02:00
Motion tuning (don't run as root, backup include, config...)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user