summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorst33v <github@f3rr3t.com>2017-01-14 19:22:36 +1100
committerst33v <github@f3rr3t.com>2017-01-14 19:22:36 +1100
commitd76372b4695a047b188ac08fb32a6f16edaa353b (patch)
treea01b3dbc3a809bb89746483291be4377ef845578
parent851f3b8ff25a919fe745a1fede3a8b321e1b93be (diff)
tarted up the bumpfile to include cam name
-rwxr-xr-xtakepix.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/takepix.sh b/takepix.sh
index a162da1..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.txt # this will trigger the systemd PATH unit at the other end
-scp bump.txt $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