This commit is contained in:
2024-02-06 08:17:28 -06:00
parent e0f3a6a60c
commit 6329317325
3 changed files with 31 additions and 31 deletions

View File

@@ -32,7 +32,7 @@ PWO_START(){
fi
# upsinfo=$(upsc CP1500PFCLCD)
upsinfo=$(upsc offsite-ups 2>&1)
upsinfo=$(upsc CP1500PFCLCD 2>&1)
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/.*: //')