From fc23ecd10ee02e1d600f7115ea2a3628b39c9f50 Mon Sep 17 00:00:00 2001 From: dwrz Date: Fri, 28 Oct 2022 17:17:05 +0000 Subject: [PATCH] Add setup script --- setup | 120 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100755 setup diff --git a/setup b/setup new file mode 100755 index 0000000..9ba9303 --- /dev/null +++ b/setup @@ -0,0 +1,120 @@ +#!/usr/bin/env bash + +readonly FILES=( + "./config/motion.conf" + "./config/msmtprc" + "./config/muttrc" + "./scripts/alert" + "./scripts/cameras" + "./scripts/notify" + "./scripts/sync" +) + +B2_BUCKET="my-bucket-name" +CAMERA_NAME="Kitchen" +DOMAIN="kitchen.example.com" +EMAIL_HOST="smtp.gmail.com" +EMAIL_PORT="587" +EMAIL_USER="user@example.com" +MOTION_PASSWORD="$(tr -dc A-Za-z0-9