#!/bin/sh # # This shell script will be called by apccontrol when apcupsd # detects that the battery should be replaced. # We send an email message, apcupsd-mail.sh "UPS battery needs changing NOW." exit 0