Update offsite-power-check.sh
This commit is contained in:
@@ -33,6 +33,7 @@ $(date)"
|
|||||||
}
|
}
|
||||||
|
|
||||||
PWO_START(){
|
PWO_START(){
|
||||||
|
SENDNOTICE2 "OFFSITE POWER MONITOR" "Service starting"
|
||||||
while true; do
|
while true; do
|
||||||
upsinfo=$(upsc CP1500PFCLCD)
|
upsinfo=$(upsc CP1500PFCLCD)
|
||||||
if [ "${upsinfo}" != "" ]; then
|
if [ "${upsinfo}" != "" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user