refactoring to add back write configs script

This commit is contained in:
Ray Tanaka
2018-11-02 15:24:25 -07:00
parent d758757839
commit aefdb082d0
8 changed files with 28 additions and 12 deletions

View File

@@ -3,9 +3,8 @@
function configure_archive () {
echo "Configuring the rsync archive..."
echo "user=$RSYNC_USER" > /root/.teslaCamRsyncConfig
echo "server=$RSYNC_SERVER" >> /root/.teslaCamRsyncConfig
echo "path=$RSYNC_PATH" >> /root/.teslaCamRsyncConfig
local config_file_path="/root/.teslaCamRsyncConfig"
/root/bin/write-archive-configs-to.sh "$config_file_path"
}
configure_archive