This commit is contained in:
2024-02-05 18:11:18 -06:00
parent 1e2dd29eec
commit acb2a8aa52
2 changed files with 3 additions and 1 deletions

View File

@@ -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/.*: //')