$OpenBSD: README-main,v 1.1 2014/01/08 20:46:18 kirby Exp $

+-----------------------------------------------------------------------
| Running apcupsd-3.14.11 on OpenBSD
+-----------------------------------------------------------------------

To allow the system to be fully powered down (in order to preserve
UPS battery), add the following lines to /etc/rc.shutdown:

if [ -f /etc/apcupsd/powerfail ]; then
  echo
  echo "APCUPSD requested this system is powered down."
  echo
  powerdown=YES
  echo
  echo "Please ensure that the UPS has powered off before rebooting."
  echo "Otherwise, the UPS may cut the power during the reboot!!!"
  echo
fi
