This commit is contained in:
2024-11-09 18:56:50 -06:00
parent ab68a19601
commit 1445da20f1
2 changed files with 3 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
VERS='2.7.121a-11082024'
VERS='2.7.122-11092024'
noheader=' update service dailytemp confsync -r -report test '

View File

@@ -762,7 +762,8 @@ CONFSYNC(){
[ "${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
rsync -az --timeout=3 ${PW_FOLDER}/settings.* root@${NM_NODEMANAGER}:/opt/idssys/nodemgmt/conf/powerwall.settings.* & >/dev/null 2>&1
# rsync -az --timeout=3 ${PW_FOLDER}/settings.ps1 root@${NM_NODEMANAGER}:/opt/idssys/nodemgmt/conf/powerwall.settings.ps1 & >/dev/null 2>&1
fi
}