openbsd-ports/sysutils/apcupsd/pkg/MESSAGE-main
sthen acc69348be update apcupsd to 3.4.19, switch from net-snmp support to internal snmp
support (removing the separate snmp flavour), and add an rc file.

from maintainer Kirill Bychkov; wantlib-x11 synced by me.
2011-08-30 09:59:30 +00:00

14 lines
414 B
Plaintext

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 ${SYSCONFDIR}/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