Fix variable

This commit is contained in:
Skylar Grant 2024-06-25 18:24:24 -04:00
parent d38a0aebd0
commit f7df142ef6

View File

@ -22,7 +22,7 @@ FILENAME="TL-$DATE.jpg"
capture() {
# Capture an image for the timelapse and save it to /tmp/TL-YYYY-MM-DD_HH-MM.jpg
echo "Capturing image and saving it to $IMG_DIR/$FILENAME"
fswebcam -r "$RESOLUTION" -d "#DEVICE" "$IMG_DIR/$FILENAME" -F 1 -S 5
fswebcam -r "$RESOLUTION" -d "$DEVICE" "$IMG_DIR/$FILENAME" -F 1 -S 5
}
# Sync images from local to a remote mounted storage device
sync() {