From d76372b4695a047b188ac08fb32a6f16edaa353b Mon Sep 17 00:00:00 2001 From: st33v Date: Sat, 14 Jan 2017 19:22:36 +1100 Subject: tarted up the bumpfile to include cam name --- takepix.sh | 6 +++--- 1 file 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 -- cgit v1.3