summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rwxr-xr-xtakepix.sh6
2 files changed, 4 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index 57f677e..5297c69 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,4 @@
# Don't track image files, which are created by the takepix script.
*.jpg
*.config
-bump.txt
+bump*
diff --git a/takepix.sh b/takepix.sh
index 4ff6d97..e7442bb 100755
--- a/takepix.sh
+++ b/takepix.sh
@@ -15,7 +15,7 @@ fi
#echo camherder = $camherder
picdate=$(date +%Y-%m-%d_%H%M)
thispic=$picdir/$picdate.jpg
-artist=$(hostname); artist=${artist,,} # force to lower case
+artist=$(hostname)
jpgQuality="90"
# echo thispic = $thispic
@@ -39,8 +39,8 @@ esac
# Copy pic to STAN, and place it in proper subdirectory (which of course must exist on STAN).
artist=${artist,,} # force to lower case
scp $thispic $camherder/$artist/.
-touch bump.$artist # this will trigger the systemd PATH unit at the other end
-scp bump.$artist $camherder/.
+touch bump-$artist # this will trigger the systemd PATH unit at the other end
+scp bump-$artist $camherder/.
rm $thispic
# Note: we do no image processing on this pi, because it has so little RAM