From a174e74bb8033357f074874b4f3888fde0c0a5d5 Mon Sep 17 00:00:00 2001 From: cimryan Date: Tue, 23 Oct 2018 20:32:28 -0700 Subject: [PATCH] Rename archive-rsync to archive-rsync.sh --- windows_archive/{archive-rsync => archive-rsync.sh} | 0 windows_archive/archive-teslacam-clips | 2 +- windows_archive/setup-teslausb | 7 +++++-- 3 files changed, 6 insertions(+), 3 deletions(-) rename windows_archive/{archive-rsync => archive-rsync.sh} (100%) 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."