vigil

Security camera system built on motion and yolov7.
Log | Files | Refs

commit 9d89ed0bf28c02ab7691b555277e8cee0b4749e6
parent 3cf8dafda778342a5a614d2e292703af8a4cd0d8
Author: dwrz <dwrz@dwrz.net>
Date:   Fri, 28 Oct 2022 13:55:06 +0000

Add default motion user and password

Diffstat:
Msetup | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/setup b/setup @@ -16,8 +16,8 @@ DOMAIN="kitchen.example.com" EMAIL_HOST="smtp.gmail.com" EMAIL_PORT="587" EMAIL_USER="user@example.com" -MOTION_PASSWORD="" -MOTION_USER="" +MOTION_PASSWORD="$(tr -dc A-Za-z0-9 </dev/urandom | head -c 24 ; echo '')" +MOTION_USER="${USER}" NOTIFICATION_RECIPIENT="1234567890@sms.example.com" input_settings() {