From ee5f5420ebb7b7b4007fd0ee6f6278b6958967a0 Mon Sep 17 00:00:00 2001 From: Mikkel Schmidt Date: Thu, 11 Jan 2024 00:27:36 +0100 Subject: [PATCH] Fix belt tension graph script --- scripts/generate-belt-tension-graph.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/generate-belt-tension-graph.sh b/scripts/generate-belt-tension-graph.sh index 83f5c783..69ca20e8 100755 --- a/scripts/generate-belt-tension-graph.sh +++ b/scripts/generate-belt-tension-graph.sh @@ -7,9 +7,10 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) ## but this has been reliable for me so far… sleep 10 -outdir="${SCRIPT_DIR}"../../input_shaper +outdir="${SCRIPT_DIR}"/../../input_shaper if [ ! -d "${outdir}" ]; then mkdir "${outdir}" + chown pi:pi "$SCRIPT_DIR"/../../input_shaper fi ~/klipper/scripts/graph_accelerometer.py \