From b7924a58379449c04e4e43432b4390a11f931077 Mon Sep 17 00:00:00 2001 From: slutsteg Date: Tue, 24 Oct 2023 18:24:50 +0200 Subject: [PATCH] Update speed-cam.sh Change from /home/pi to $HOME to make it work if your user is not pi. --- speed-cam.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/speed-cam.sh b/speed-cam.sh index 7b9664c..dbb8808 100644 --- a/speed-cam.sh +++ b/speed-cam.sh @@ -4,12 +4,12 @@ # Add the following command to the /etc/rc.local # /home/pi/speed-camera/speed-cam.sh start -progpath="/home/pi/speed-camera" +progpath="$HOME/speed-camera" progname="speed-cam.py" echo "$0 ver 6.00 written by Claude Pageau" echo "-----------------------------------------------" -cd $progpath +cd "$progpath" # Check if progname exists if [ ! -e $progname ] ; then