#!/bin/sh
#
# simple sample script to stop apcupsd
#
# you must be root to execute it
#
if [ -f /var/run/apcupsd.pid ] ; then
   THEPID = `cat ${APCPID}`
   kill ${THEPID}
else
   echo "Could not find pid file\n"
fi
