From ada91ef7e7561a5ae396f7a7f2be3160c082f1b0 Mon Sep 17 00:00:00 2001 From: Ray Tanaka Date: Wed, 24 Oct 2018 23:56:57 -0700 Subject: [PATCH] removing a couple more references here too --- setup/pi/setup-teslausb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup/pi/setup-teslausb b/setup/pi/setup-teslausb index abf884a..1b208ce 100644 --- a/setup/pi/setup-teslausb +++ b/setup/pi/setup-teslausb @@ -95,14 +95,14 @@ function create_usb_drive_backing_files () { /tmp/create-backingfiles-partition.sh "$BACKINGFILES_MOUNTPOINT" fi - if ! findmnt --mountpoint /backingfiles + if ! findmnt --mountpoint $BACKINGFILES_MOUNTPOINT then echo "Mounting the partition for the backing files..." - mount /backingfiles + mount $BACKINGFILES_MOUNTPOINT echo "Mounted the partition for the backing files." fi - if [ ! -e /backingfiles/*.bin ] + if [ ! -e $BACKINGFILES_MOUNTPOINT/*.bin ] then /tmp/create-backingfiles.sh "$campercent" "$BACKINGFILES_MOUNTPOINT" fi