monitors the serial port connected to an UPS device
and will perform an unattended shutdown of the system
if the UPS is on battery longer than a specified
number of minutes.
needs to watch a tty with modem control properties,
and [wiring details to be added.] Please refer to the
documentation for further information.
Path to the configuration file
This file contains UPS type definitions, and may also containts default
Some serial port that is not being used by some other device, and does not
share an interrupt with any other serial port.
Path to the
script, which is executed when a power event occurs.
The name of the event is passed as the only command line
argument to the script, and also written to the
Path to the
file, where the name of the current power event is written.
A text string identifying the UPS and cable combination that genpowerd is
to monitor. If genpowerd is envoked without any arguments, a list of
available configurations will be displaied.
has the following command line options:
to send the signal to kill the UPS's inverter. This signal is
configured at compile time in the
header file, and selected by the UPS/cable configuration selected
Unipowerd does not use environment variables.
upsstatindicates UPS battery status
rc.powerfailscript to manage power failures
powerstatusindicates line power status (Linux only)
Well, not a real bug but
should be able to do a broadcast or
something on the ethernet in case more Linux-boxes are connected to
the same UPS and only one of them is connected to the UPS status line.