Skip to content

Commit

Permalink
Update speed-cam.sh
Browse files Browse the repository at this point in the history
Change from /home/pi to $HOME to make it work if your user is not pi.
  • Loading branch information
slutsteg authored Oct 24, 2023
1 parent bb2dce6 commit b7924a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions speed-cam.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b7924a5

Please sign in to comment.