aboutsummaryrefslogtreecommitdiff
path: root/broccoli/script/livegraph.sh
diff options
context:
space:
mode:
Diffstat (limited to 'broccoli/script/livegraph.sh')
-rwxr-xr-x[-rw-r--r--]broccoli/script/livegraph.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/broccoli/script/livegraph.sh b/broccoli/script/livegraph.sh
index 6a095c4..1a0e511 100644..100755
--- a/broccoli/script/livegraph.sh
+++ b/broccoli/script/livegraph.sh
@@ -17,7 +17,7 @@ then
fi
function plot() {
- scp "${SCP_EXPR}/sensor.dat" "${SCP_EXPR}/distance.dat" .
+ scp -i /home/andreas/.ssh/pasadpi_rsa -P 8022 "${SCP_EXPR}/sensor.dat" "${SCP_EXPR}/distance.dat" .
echo "set terminal png; plot 'sensor.dat' using 0:1 with line, 'distance.dat' using 0:1 axis x1y2 with line"| gnuplot > live-tmp.png
mv live-tmp.png live.png
}