From 6db048a5db46f580c843a51d41f74ab3aa8371f7 Mon Sep 17 00:00:00 2001 From: dwrz Date: Fri, 28 Oct 2022 17:16:03 +0000 Subject: [PATCH] Add alert script --- scripts/alert | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/alert b/scripts/alert index e02c90c..f5db72b 100755 --- a/scripts/alert +++ b/scripts/alert @@ -1,6 +1,6 @@ #!/usr/bin/env bash -readonly RECIPIENT="" +readonly RECIPIENT="${NOTIFICATION_RECIPIENT}" main() { echo "${HOSTNAME}: motion detected at $(date '+%Y-%m-%dT%H:%M:%S%:z')." | \