mirror of
https://github.com/cimryan/teslausb.git
synced 2026-02-28 20:20:32 +00:00
Fix references to write-archive-credentials-to.sh
This commit is contained in:
@@ -14,7 +14,7 @@ function configure_archive () {
|
||||
|
||||
local credentials_file_path="/root/.teslaCamArchiveCredentials"
|
||||
|
||||
/root/bin/write_archive_credentials_to.sh "$credentials_file_path"
|
||||
/root/bin/write-archive-credentials-to.sh "$credentials_file_path"
|
||||
|
||||
echo "//$archive_server_ip_address/$sharename $archive_path cifs vers=${cifs_version},credentials=${credentials_file_path},iocharset=utf8,file_mode=0777,dir_mode=0777 0" >> /etc/fstab
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ function check_archive_mountable () {
|
||||
|
||||
local tmp_credentials_file_path="/tmp/teslaCamArchiveCredentials"
|
||||
|
||||
/root/bin/write_archive_credentials_to.sh "$tmp_credentials_file_path"
|
||||
/root/bin/write-archive-credentials-to.sh "$tmp_credentials_file_path"
|
||||
|
||||
local mount_failed=false
|
||||
mount -t cifs "//$archive_server_ip_address/$sharename" "$test_mount_location" -o "vers=${cifs_version},credentials=${tmp_credentials_file_path},iocharset=utf8,file_mode=0777,dir_mode=0777" || mount_failed=true
|
||||
|
||||
Reference in New Issue
Block a user