# powstatd: a configurable UPS monitor.
# Copyright (C) 1999-2001 The University of Iowa
# Author: Alberto Maria Segre
#         segre@cs.uiowa.edu
#         S378 Pappajohn Building
#         The University of Iowa
#         Iowa City, IA  52242-1000
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA

# Sample configuration file; appropriate for some older APC UPS.

# Watch /dev/ttyS0
watch ttyS0

# DSR goes low when mains fail.
fail dsr 0
# CTS goes low when battery is too low.
low cts 0

# DTR must be set high at initialization.
init dtr 1

# RTS is initially set low; pulling it high causes UPS to turn off if main
# power is gone.
init rts 0
kill rts 1
