commit 6db048a5db46f580c843a51d41f74ab3aa8371f7 parent 9576203ff9134167d2aed3b0cfb0a54e316966c7 Author: dwrz <dwrz@dwrz.net> Date: Fri, 28 Oct 2022 17:16:03 +0000 Add alert script Diffstat:
M | scripts/alert | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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')." | \