diff --git a/windows_archive/archive-rsync b/windows_archive/archive-rsync.sh similarity index 100% rename from windows_archive/archive-rsync rename to windows_archive/archive-rsync.sh diff --git a/windows_archive/archive-teslacam-clips b/windows_archive/archive-teslacam-clips index 94e42d2..a79a1e3 100644 --- a/windows_archive/archive-teslacam-clips +++ b/windows_archive/archive-teslacam-clips @@ -37,7 +37,7 @@ fix_errors_in_cam_file if [ -r "/root/.teslaCamRsyncConfig" ] then - /root/bin/archive-rsync + /root/bin/archive-rsync.sh else /root/bin/archive-cifs.sh fi diff --git a/windows_archive/setup-teslausb b/windows_archive/setup-teslausb index a2460b2..d36a7be 100644 --- a/windows_archive/setup-teslausb +++ b/windows_archive/setup-teslausb @@ -185,8 +185,11 @@ function configure_archive_scripts () { if [ $RSYNC_ENABLE = true ] then - wget https://raw.githubusercontent.com/"$REPO"/teslausb/"$BRANCH"/windows_archive/archive-rsync - chmod +x archive-rsync + wget https://raw.githubusercontent.com/"$REPO"/teslausb/"$BRANCH"/windows_archive/archive-rsync.sh + chmod +x archive-rsync.sh + else + wget https://raw.githubusercontent.com/"$REPO"/teslausb/"$BRANCH"/windows_archive/archive-cifs.sh + chmod +x archive-cifs.sh fi popd echo "Configured the archive scripts."