mirror of
https://github.com/cimryan/teslausb.git
synced 2026-03-01 04:30:33 +00:00
Minor fixes
Archive isn't mounted for rsync, it's just a folder
This commit is contained in:
@@ -132,7 +132,10 @@ function unmount_cam_drive () {
|
||||
|
||||
log "Starting..."
|
||||
|
||||
if [ ! -r "/root/.teslaCamRsyncConfig" ]
|
||||
then
|
||||
ensure_archive_is_mounted
|
||||
fi
|
||||
|
||||
disconnect_usb_drives_from_host
|
||||
|
||||
|
||||
@@ -212,7 +212,7 @@ if [ $RSYNC_ENABLE = true ]
|
||||
then
|
||||
check_variable "RSYNC_USER"
|
||||
check_variable "RSYNC_SERVER"
|
||||
archiveserver = $RSYNC_SERVER
|
||||
export archiveserver=$RSYNC_SERVER
|
||||
check_variable "RSYNC_PATH"
|
||||
else # Else for now, TODO allow both for more redundancy?
|
||||
check_variable "sharename"
|
||||
|
||||
Reference in New Issue
Block a user