Commit Graph

6 Commits

Author SHA1 Message Date
sthen
c033eddb06 simplify rc_pre(); this uses rm -f which returns a successful exit code
even if the file doesn't exist, so no need to explicitly test for its
presence. from rpe, ok ajacoutot@
2012-08-27 13:39:59 +00:00
sthen
db0a920335 Better SYSCONFDIR handling (remove the CONFIGURE_STYLE=...old hack) now that
we have BASESYSCONFDIR. Maintainer timeout.
2011-11-28 10:46:19 +00:00
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
sthen
78355991cf add a missing space in MESSAGE-main's sample rc.local fragment; Kirill Bychkov 2010-06-17 18:43:43 +00:00
sthen
5768ad4599 Various small fixes suggested by aja@ 2010-05-27 10:21:39 +00:00
sthen
8005714669 Import ports/sysutils/apcupsd, a daemon for monitoring APC UPSes.
We already have sysutils/apc-upsd which hasn't been maintained upstream
in >10 years, which I intend to rm unless there are objections.

From maintainer Kirill Bychkov with various input from myself.

Apcupsd can be used for power mangement and controlling most of APC's
UPS models. Apcupsd works with most of APC's Smart-UPS models as well as
most simple signalling models such a Back-UPS, and BackUPS-Office.
During a power failure, apcupsd will inform the users about the power
failure and that a shutdown may occur. If power is not restored, a
system shutdown will follow when the battery is exhausted, a timeout
(seconds) expires, or runtime expires based on internal APC calculations
determined by power consumption rates.
2010-05-25 21:56:33 +00:00