#!/bin/sh # # This shell script will be called by apccontrol when the UPS # goes on batteries. # We send an email message. apcupsd-mail.sh "Power Failure !!!" exit 0