diff --git a/setup-teslausb b/setup-teslausb index 39b3bf5..a48ada8 100644 --- a/setup-teslausb +++ b/setup-teslausb @@ -102,7 +102,7 @@ function create_usb_drive_backing_files () { echo "Mounted the partition for the backing files." fi - if [! -e /backingfiles/* ] + if [! -e /backingfiles/*.bin ] then /tmp/create-backingfiles.sh "$campercent" "$BACKINGFILES_MOUNTPOINT" fi