mirror of
https://github.com/cimryan/teslausb.git
synced 2026-03-01 04:30:33 +00:00
Check for actual backing files before deciding whether or not to create them.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user