mirror of
https://github.com/cimryan/teslausb.git
synced 2026-03-01 04:30:33 +00:00
Rename archive-rsync to archive-rsync.sh
This commit is contained in:
@@ -37,7 +37,7 @@ fix_errors_in_cam_file
|
|||||||
|
|
||||||
if [ -r "/root/.teslaCamRsyncConfig" ]
|
if [ -r "/root/.teslaCamRsyncConfig" ]
|
||||||
then
|
then
|
||||||
/root/bin/archive-rsync
|
/root/bin/archive-rsync.sh
|
||||||
else
|
else
|
||||||
/root/bin/archive-cifs.sh
|
/root/bin/archive-cifs.sh
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -185,8 +185,11 @@ function configure_archive_scripts () {
|
|||||||
|
|
||||||
if [ $RSYNC_ENABLE = true ]
|
if [ $RSYNC_ENABLE = true ]
|
||||||
then
|
then
|
||||||
wget https://raw.githubusercontent.com/"$REPO"/teslausb/"$BRANCH"/windows_archive/archive-rsync
|
wget https://raw.githubusercontent.com/"$REPO"/teslausb/"$BRANCH"/windows_archive/archive-rsync.sh
|
||||||
chmod +x archive-rsync
|
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
|
fi
|
||||||
popd
|
popd
|
||||||
echo "Configured the archive scripts."
|
echo "Configured the archive scripts."
|
||||||
|
|||||||
Reference in New Issue
Block a user