update
This commit is contained in:
@@ -31,7 +31,8 @@ PWO_START(){
|
||||
TESTMODE=""
|
||||
fi
|
||||
|
||||
upsinfo=$(upsc CP1500PFCLCD)
|
||||
# upsinfo=$(upsc CP1500PFCLCD)
|
||||
upsinfo=$(upsc offsite-ups)
|
||||
if [ "$(echo "${upsinfo}" | grep 'input.voltage:' | sed 's/.*: //')" != "" ]; then
|
||||
rm -f ${PW_TMPFOLDER}/power.ups.losscomm
|
||||
OFFSITE_VOLTIN=$(echo "${upsinfo}" | grep 'input.voltage:' | sed 's/.*: //')
|
||||
|
||||
@@ -718,6 +718,7 @@ 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.50:/opt/idssys/nodemgmt/conf/powerwall.settings.conf & >/dev/null 2>&1
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user