Minor fixes

Archive isn't mounted for rsync, it's just a folder
This commit is contained in:
Gocnak
2018-10-20 04:27:44 -04:00
parent 002d1e6f6c
commit b60b787953
2 changed files with 6 additions and 3 deletions

View File

@@ -132,7 +132,10 @@ function unmount_cam_drive () {
log "Starting..." log "Starting..."
ensure_archive_is_mounted if [ ! -r "/root/.teslaCamRsyncConfig" ]
then
ensure_archive_is_mounted
fi
disconnect_usb_drives_from_host disconnect_usb_drives_from_host

View File

@@ -212,7 +212,7 @@ if [ $RSYNC_ENABLE = true ]
then then
check_variable "RSYNC_USER" check_variable "RSYNC_USER"
check_variable "RSYNC_SERVER" check_variable "RSYNC_SERVER"
archiveserver = $RSYNC_SERVER export archiveserver=$RSYNC_SERVER
check_variable "RSYNC_PATH" check_variable "RSYNC_PATH"
else # Else for now, TODO allow both for more redundancy? else # Else for now, TODO allow both for more redundancy?
check_variable "sharename" check_variable "sharename"