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