since this is an undocumented configuration variable we'll move this into the main cifs config

This commit is contained in:
Ray Tanaka
2018-10-30 16:44:38 -07:00
parent 7bc57b1025
commit bb9347b115

View File

@@ -12,6 +12,8 @@ function configure_archive () {
mkdir "$archive_path" mkdir "$archive_path"
fi fi
local cifs_version="${cifs_version:-3.0}"
local credentials_file_path="/root/.teslaCamArchiveCredentials" local credentials_file_path="/root/.teslaCamArchiveCredentials"
echo "username=$shareuser" > "$credentials_file_path" echo "username=$shareuser" > "$credentials_file_path"
echo "password=$sharepassword" >> "$credentials_file_path" echo "password=$sharepassword" >> "$credentials_file_path"