mirror of
https://github.com/cimryan/teslausb.git
synced 2026-03-01 04:30:33 +00:00
Check for teslacam folder
And other tweaks.
This commit is contained in:
@@ -41,6 +41,13 @@ function mount_mountpoint () {
|
||||
if [ "$mounted" = true ]
|
||||
then
|
||||
log "Mounted $mount_point."
|
||||
if [ -d "/mnt/cam/TeslaCam" ]
|
||||
then
|
||||
log "TeslaCam folder exists"
|
||||
true
|
||||
return
|
||||
else
|
||||
mkdir /mnt/cam/TeslaCam
|
||||
true
|
||||
return
|
||||
else
|
||||
@@ -131,5 +138,5 @@ ensure_cam_drive_is_mounted
|
||||
move_clips_to_archive
|
||||
|
||||
unmount_cam_drive
|
||||
|
||||
|
||||
connect_usb_drives_to_host
|
||||
Reference in New Issue
Block a user