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')." | \