This commit is contained in:
2024-04-10 22:12:30 -05:00
parent 0b52771c24
commit 8c6a502c9a
3 changed files with 12 additions and 10 deletions

View File

@@ -723,9 +723,11 @@ GET_SNAPSHOTS(){
}
CONFSYNC(){
# rsync -az --timeout=3 ${PW_FOLDER}/settings.conf root@10.2.1.1:${PW_FOLDER}/ & >/dev/null 2>&1
rsync -az --timeout=3 ${PW_FOLDER}/settings.conf root@${PW_OFFSITE_MONITOR}:${PW_FOLDER}/ & >/dev/null 2>&1
rsync -az --timeout=3 ${PW_FOLDER}/settings.conf root@10.10.10.60:/opt/idssys/nodemgmt/conf/powerwall.settings.conf & >/dev/null 2>&1
[ "${PW_OFFSITE_MONITOR}" != "" ] && rsync -az --timeout=3 ${PW_FOLDER}/settings.conf root@${PW_OFFSITE_MONITOR}:${PW_FOLDER}/ & >/dev/null 2>&1
if [ -f /opt/idssys/nodemgmt/conf/defaults.local.inc ]; then
source /opt/idssys/nodemgmt/defaults.inc
rsync -az --timeout=3 ${PW_FOLDER}/settings.conf root@${NM_NODEMANAGER}:/opt/idssys/nodemgmt/conf/powerwall.settings.conf & >/dev/null 2>&1
fi
}
DOWNLIST(){