From 921796807d12c6eea7d11bb04e68da7c352525c3 Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 10 Feb 2022 09:32:41 -0500 Subject: [PATCH] Add files via upload --- setup/motioneye_setup.sh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/setup/motioneye_setup.sh b/setup/motioneye_setup.sh index 32070c8d..8fdd2176 100644 --- a/setup/motioneye_setup.sh +++ b/setup/motioneye_setup.sh @@ -52,23 +52,23 @@ echo -e "${CHECKMARK} \e[1;92m Installing Dependencies... \e[0m" curl \ sudo &>/dev/null -echo -e "${CHECKMARK} \e[1;92m Installing FFmpeg... \e[0m" - apt-get install ffmpeg v4l-utils -y &>/dev/null - -echo -e "${CHECKMARK} \e[1;92m Installing Python... \e[0m" - apt-get install python-dev-is-python2 python-setuptools libssl-dev libcurl4-openssl-dev libjpeg-dev zlib1g-dev libffi-dev libzbar-dev libzbar0 -y &>/dev/null - curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py &>/dev/null - python2 get-pip.py &>/dev/null - echo -e "${CHECKMARK} \e[1;92m Installing Motion... \e[0m" apt-get install motion -y &>/dev/null systemctl stop motion &>/dev/null systemctl disable motion &>/dev/null +echo -e "${CHECKMARK} \e[1;92m Installing FFmpeg... \e[0m" + apt-get install ffmpeg v4l-utils -y &>/dev/null + +echo -e "${CHECKMARK} \e[1;92m Installing Python... \e[0m" + apt-get install python2 -y + curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py &>/dev/null + python2 get-pip.py &>/dev/null + apt-get install python-dev-is-python2 python-setuptools libssl-dev libcurl4-openssl-dev libjpeg-dev zlib1g-dev libffi-dev libzbar-dev libzbar0 -y &>/dev/null + echo -e "${CHECKMARK} \e[1;92m Installing MotionEye... \e[0m" - apt-get update &>/dev/null - mkdir -p /etc/motioneye pip install motioneye &>/dev/null + mkdir -p /etc/motioneye cp /usr/local/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf mkdir -p /var/lib/motioneye