streameye rpi1: revert unintended stop cmd change

This commit is contained in:
Joo Aun Saw 2019-03-25 11:17:24 +11:00
parent d6060f8573
commit c879dc1d09

View File

@ -231,7 +231,7 @@ function start() {
function stop() {
# stop the streameye background watch process
ps | grep streameye.sh | grep -v $$ | grep -v grep | tr -s ' ' | sed -e 's/^\s//' | cut -d ' ' -f 1 | xargs -r kill
ps | grep streameye.sh | grep -v $$ | grep -v S94streameye| grep -v grep | tr -s ' ' | sed -e 's/^\s//' | cut -d ' ' -f 1 | xargs -r kill
# stop the raspimjpeg process
raspimjpeg_pid=$(ps | grep raspimjpeg.py | grep -v grep | tr -s ' ' | sed -e 's/^\s//' | cut -d ' ' -f 1)