Rename archive-rsync to archive-rsync.sh

This commit is contained in:
cimryan
2018-10-23 20:32:28 -07:00
parent c563f287ba
commit a174e74bb8
3 changed files with 6 additions and 3 deletions

View File

@@ -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

View File

@@ -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."