powerdown is gone; new solution will make its way soon.

ok kirby@ (maintainer)
This commit is contained in:
ajacoutot 2014-07-15 11:46:25 +00:00
parent a330decdc2
commit 241f3f2ba2
3 changed files with 3 additions and 22 deletions

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.23 2014/03/17 23:22:21 sthen Exp $
# $OpenBSD: Makefile,v 1.24 2014/07/15 11:46:25 ajacoutot Exp $
COMMENT-main = daemon for controlling APC UPSes
COMMENT-cgi = CGI scripts for web monitoring
COMMENT-x11 = gapcmon - GUI for apcupsd
DISTNAME = apcupsd-3.14.11
REVISION-main = 0
REVISION-x11 = 0
PKGNAME-main = ${DISTNAME}
PKGNAME-cgi = ${DISTNAME:S/-/-cgi-/}

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST-main,v 1.7 2014/02/06 06:32:55 kirby Exp $
@comment $OpenBSD: PLIST-main,v 1.8 2014/07/15 11:46:25 ajacoutot Exp $
@pkgpath sysutils/apcupsd,snmp
@group bin
@man man/man5/apcupsd.conf.5
@ -22,7 +22,6 @@ share/doc/apcupsd/COPYING
share/doc/apcupsd/COPYRIGHT
share/doc/apcupsd/DISCLAIMER
share/doc/apcupsd/README.openbsd
share/doc/pkg-readmes/${FULLPKGNAME}
share/examples/apcupsd/
share/examples/apcupsd/etc/
@sample ${SYSCONFDIR}/

View File

@ -1,19 +0,0 @@
$OpenBSD: README-main,v 1.1 2014/01/08 20:46:18 kirby Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} 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 ${SYSCONFDIR}/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