More minor fixes

Fixed rsync user and server being overwritten
Added log file outputs for archive-rsync
This commit is contained in:
Gocnak
2018-10-20 06:45:08 -04:00
parent de3371f00c
commit 1648a1993f
2 changed files with 5 additions and 3 deletions

View File

@@ -112,8 +112,8 @@ function configure_archive () {
then
echo "Configuring for Rsync..."
echo "user=$RSYNC_USER" > /root/.teslaCamRsyncConfig
echo "server=$RSYNC_SERVER" > /root/.teslaCamRsyncConfig
echo "path=$RSYNC_PATH" > /root/.teslaCamRsyncConfig
echo "server=$RSYNC_SERVER" >> /root/.teslaCamRsyncConfig
echo "path=$RSYNC_PATH" >> /root/.teslaCamRsyncConfig
else
echo "Configuring for a shared drive..."
mkdir /mnt/archive