#!/bin/sh # # This shell script will be called by apccontrol when apcupsd # loses contact with the UPS (i.e. the serial connection is not responding). # We send an email message. apcupsd-mail.sh "Communications with UPS lost" exit 0