Merge branch 'master' of https://github.com/cimryan/teslausb into rclone_archive

This commit is contained in:
Ray Tanaka
2018-10-25 12:46:44 -07:00
2 changed files with 4 additions and 2 deletions

View File

@@ -33,7 +33,9 @@ function check_archive_mountable () {
if [ "$mount_failed" = true ]
then
echo "STOP: The archive couldn't be mounted with CIFS version ${cifs_version}. Try specifying a lower number for the CIFS version like this: export cifs_version=2"
echo "STOP: The archive couldn't be mounted with CIFS version ${cifs_version}. Try specifying a lower number for the CIFS version like this:"
echo " export cifs_version=2.1"
echo "Other versions you can try are 2.0 and 1.0"
exit 1
fi

View File

@@ -205,7 +205,7 @@ else # Else for now, TODO allow both for more redundancy?
check_variable "shareuser"
check_variable "sharepassword"
export cifs_version="${cifs_version:-3}"
export cifs_version="${cifs_version:-3.0}"
fi
check_variable "archiveserver"