---
name: mgeupsd
version: 0.3_1
origin: sysutils/mgeupsd
comment: monitor a state of MGE Pulsar UPS connected to RS-232 port
arch: freebsd:9:x86:64
www: UNKNOWN
maintainer: ports@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 21100
desc: |
  mgeupsd is a daemon process that sits in the background and check
  state of the UPS every 10 (by default) seconds.  As soon as mgeupsd
  senses that the power is failing it notifies init(8) and init will
  execute the powerwait and powerfail entries. If mgeupsd senses that
  the power has been restored, it notifies init again and init will exe-
  cute the powerokwait entries. If mgeupsd senses that the UPS batteries
  has less than 20%25 of its energy it notifies init again and init will
  execute the powerfailnow entries.
categories: [sysutils]
files:
  /usr/local/etc/rc.d/mgeupsd.sh: bc14a2f2089b79aaef8593300a79ffc06d9190725acdec8a3116e90d8b769e18
  /usr/local/man/man8/mgeupsd.8: a8fcb6f037d2621282cd69e86b1e120e8999eb1fc26d90690fad4e34c0768d31
  /usr/local/sbin/mgeupsd: 2f3822002319dad9fd77a80ca65550541c988ba920cae58d170108c48a1419c9
  /usr/local/sbin/powerhandler: 935d2d11be8329dbe2d41d2a2134b2915ebb914082621ffe51134a98ae4fa918
scripts: {}
message: |
  A configuration file has been installed in ${PREFIX}/etc/rc.d/mgeupsd.sh.
  Examine it to make sure it is suitable for your system.

  A sample script that handles the various power messages has been placed in
  ${PREFIX}/sbin/powerhandler.  You will probably want to edit it to suit
  your particular needs.
