„webcam“ hinzufügen
This commit is contained in:
parent
a745142098
commit
d226c3cf0c
18
webcam
Normal file
18
webcam
Normal file
@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
# Start / stop streamer daemon
|
||||
# copy to /home/pi/scripts/webcam
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
/home/pi/scripts/webcamDaemon >/dev/null 2>&1 &
|
||||
echo "$0: started"
|
||||
;;
|
||||
stop)
|
||||
pkill -x webcamDaemon
|
||||
pkill -x mjpg_streamer
|
||||
echo "$0: stopped"
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {start|stop}" >&2
|
||||
;;
|
||||
esac
|
Loading…
Reference in New Issue
Block a user