mirror of
https://github.com/cimryan/teslausb.git
synced 2026-03-01 04:30:33 +00:00
fixing cifs issue with my last change and reordering so we don't need a separate credential file
This commit is contained in:
@@ -24,6 +24,8 @@ function check_archive_mountable () {
|
|||||||
mkdir "$test_mount_location"
|
mkdir "$test_mount_location"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
local tmp_credentials_file_path="/root/.teslaCamArchiveCredentials"
|
||||||
|
|
||||||
local mount_failed=false
|
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
|
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
|
||||||
|
|
||||||
|
|||||||
@@ -320,10 +320,10 @@ then
|
|||||||
mkdir /root/bin
|
mkdir /root/bin
|
||||||
fi
|
fi
|
||||||
|
|
||||||
install_archive_scripts
|
|
||||||
|
|
||||||
get_script /root/bin get-archiveserver-ip-address.sh run
|
get_script /root/bin get-archiveserver-ip-address.sh run
|
||||||
|
|
||||||
|
install_archive_scripts
|
||||||
|
/root/bin/configure-archive.sh
|
||||||
/root/bin/verify-archive-configuration.sh
|
/root/bin/verify-archive-configuration.sh
|
||||||
|
|
||||||
check_available_space
|
check_available_space
|
||||||
@@ -332,7 +332,6 @@ get_ancillary_setup_scripts
|
|||||||
|
|
||||||
pushd ~
|
pushd ~
|
||||||
|
|
||||||
|
|
||||||
configure_archive_scripts
|
configure_archive_scripts
|
||||||
|
|
||||||
configure_pushover_scripts
|
configure_pushover_scripts
|
||||||
@@ -346,8 +345,6 @@ headless_setup_progress_flash 3
|
|||||||
|
|
||||||
create_usb_drive_backing_files
|
create_usb_drive_backing_files
|
||||||
|
|
||||||
/root/bin/configure-archive.sh
|
|
||||||
|
|
||||||
configure_rc_local
|
configure_rc_local
|
||||||
|
|
||||||
configure_hostname
|
configure_hostname
|
||||||
|
|||||||
Reference in New Issue
Block a user