From Linux Man Pages
detectups - UPS detection/powerd configuration generator
/sbin/detectups [tty]
DESCRIPTION
detectups monitors the serial port connected to an UPS device and will attempt to determine the method of UPS
notification of power outage. It will ask you to remove the power cord from the wall to the UPS, or push the
UPS's test button. It will then determine what all has happened and ask to generate a config file based on your
UPS and cable configuration. detectups needs to watch a tty with modem control properties. Please refer to the
powerd documentation for further information.
ARGUMENTS
Serial-Device Some serial port that is not being used by some other device, and does not share an interrupt with
any other serial port. /etc/powerd.conf
FILES
/etc/powerd.conf powerd configuration file that detectups generates
/etc/inittab init is what actually issues the shutdown
RELATED
powerd(8), shutdown(8), wall(1), inittab(5).
CATEGORY